- edited description
Code intention for Introduce Local Variable refactoring (and likely other refactorings)
When using a method/class in Java its posible to generate a local variable when pressing alt+enter.
This seems not to be implemented in illuminated cloud.
This could be a nice feature, both when using a method/class to be able to press alt+enter, and have the option “Introduce local variable“. Also nice when writing a SOQL into a list.
Comments (7)
-
reporter -
repo owner Hi. This is currently possible using Ctrl+Alt+V / Cmd+Opt+V. I understand that you’re requesting a code intention to do the same thing, but I wanted to make sure that you knew that there was already a keyboard shortcut for introducing a local variable based on the current expression.
-
repo owner - changed title to Code intention for Introduce Local Variable refactoring (and likely other refactorings)
-
repo owner - changed component to Refactoring
-
reporter I am sorry, I did not know that. Ctrl+Alt+V work exactly as requested
-
repo owner No issues. I’m glad that was helpful information. I’m going to keep this open because I do think that having these refactorings available as code intentions can be useful.
-
repo owner - removed version
- changed component to Code Inspections and Intentions
- Log in to comment