Commit Graph

3 Commits

Author SHA1 Message Date
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
Artemiy Sartakov 52f49b5c5f ConvertToLocalInspection: inline created local variable if this variable is a copy of initializer (IDEA-33733) 2019-01-17 20:26:42 +07:00