Can't get some intentions to work in EAP 9712
I can't get two of the intentions to work in EAP 9712.
How do I get "Convert Closure Arg To It" to work? What do I need to select before pressing Alt+Enter?
Here is the sample code:
def myClosure = {parameter -> print parameter}
which should be converted to
def myClosure = {print it }
How do I get "Change to End of Line Comment" to work? What do I need to select before pressing Alt+Enter?
Here is the sample code:
/*comment line 1
comment line 2 */
x = 0x30
Thanks.
Please sign in to leave a comment.
These 2 intentions are disabled now (and have been for a long time and
unclear reason). If you want VERY much, you can investigate that by
yourself by uncommenting corresponding lines in plugin.xml, otherwise
I'll look at them later.