Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.5.2.Release
-
Fix Version/s: 2.6.1.M1
-
Component/s: Formatting
-
Labels:None
-
Number of attachments :
Description
When there is a single curly brace at the end of a line and enter is pressed, the brace is automatically closed at the correct indent level. Eg:
foo {|
becomes:
foo {
|
}
However, if the closure has arguments, then the brace is not autoclosed. Eg-
foo { String x ->|
becomes:
foo { String x ->
|
This would be good to fix as we are changing the way that content assist inserts closures.
Issue Links
- supercedes
-
GRECLIPSE-1232
Better content assist for methods with closure arguments
-
Activity
Andrew Eisenberg
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Kris De Volder [ kdvolder ] | |
| Resolution | Fixed [ 1 ] |
Andrew Eisenberg
made changes -
| Link |
This issue supercedes |
Andrew Eisenberg
made changes -
| Fix Version/s | 2.6.1.M1 [ 18289 ] | |
| Fix Version/s | 2.6.0.Release [ 17849 ] |
Now fixed. Kris did the work and I added a couple of regression tests.