Community
Participate
Working Groups
This action would automatically close all open parenthesis on the current line, insert the semi-colon, and move to the next line. Eg. someMethod(someOtherMethod(param1<FINISH STATEMENT> would result in: someMethod(someOtherMethod(param1)); <CURSOR> On an empty line (ws only), it would close the current block, and move the cursor to the next line, indenting appropriately. A good shortcut for this action would be Ctrl+Enter.
Martin, wouldn't this be a quick fix candidate?
I'm not sure Quick Fix would quite fit with the work-flow I intended. Quick Fix is an afer-the-fact operation, while this would be performed inline with entering new code. The purpose of this function would be to simplify creating deeply nested expressions that result in a high number of closing parenthesis. This would allow to user to avoid having to manually determine how many to close.
This is not a quick fix operation, I agree with you. I doesn't fit to code assist (CTRL + SPACE) neither. Maybe like auto indent.
I agree that this souldn't be handled by quick fix. IMO it is more a smart editing feature. Moving to JDT Text for commenting.
With 2.1 out, could this one be looked at again?
No plans to work on this.
Get rid of deprecated state.