Commit Graph

6 Commits

Author SHA1 Message Date
Bart van Helvert
57b3e68b1b [java-inspections] IDEA-298539 Fix parameter can be local quick-fix undo
Also makes it so refactoring isn't called in write action and won't cause deadlocks.

GitOrigin-RevId: 204fd9f9a0b2e942b1c9eb56b3d9938b2666d123
2022-07-29 14:24:01 +00:00
Tagir Valeev
8560c6a5d1 [java-inspections] More preview tests
GitOrigin-RevId: 571a82f66623887c1b5008963df842b2597c58c9
2022-07-27 10:00:31 +00:00
Artemiy Sartakov
1b87c1a508 ConvertToLocalInspection: changed quick-fix to explicitly show type of code block where field is used (IDEA-CR-42222) 2019-02-05 13:26:10 +07:00
Artemiy Sartakov
6fbd5cc914 ConvertToLocalInspection: CR fixes (IDEA-CR-42222)
1. localVariableIsCopy -> isLocalVariableCopy
2. added more precise convert to local quick fix message (with info about to where field will be inlined)
3. fixed tests for new convert to local quick fix messages
4. removed inlineVariable(PsiVariable, PsiExpression)
2019-01-28 18:32:01 +07:00
Anna.Kozlova
443fa52729 restore comments on convert to local (IDEA-178942) 2017-11-21 16:51:10 +01:00
Anna Kozlova
6af1d4e49a field can be local: group by top level blocks (IDEA-121490) 2014-03-18 20:00:56 +01:00