|
|
|
[
Permlink
| « Hide
]
Dmitry Jemerov - 26 Feb 08 13:54
In our opinion, the annoyance caused by this intention accidentally triggering when you press Alt-Enter Enter is greater than its actual usefulness.
Note that "Add braces" is still available. If you position the text cursor on the "result.add(element);" statement the intention option will appear:
for (EnvironmentElement element : list)
result.add(element);
Bas,
Actually we have problems with IPP intentions conflicting with JSIPP ones. We'll need to find some way to separate them cleanly. What kind of problems? I rarely work on JavaScript code, so I had not noticed. Could it be caused by the fact that the JSIPP intentions have the same family name as the corresponding intention in IPP?
Huh? I can't see how anyone could possibly accidently type alt+enter, enter. If you could, you could do it anywhere. Why is remove braces any more of a problem than any other intention action? Why can't you turn it on and off like other intentions anyway?
Didn't add braces use to work from the front of the control statement? IMO, that is a more logical place to try and invoke the action. |
||||||||||||||||||||||||||||||||||||