Currently this feature is located in Java -> Editor -> Typing. It should be part of Scala -> Editor.
Leave a comment
Add `SmartSemicolonInsertion` auto edit
This auto edit always moves the semicolon to the end of the line unless
the cursor is inside a for comprehension - the only place in Scala where
the usage of semicolons is a syntax feature.
The "auto insert braces at corret position" feature of the Java editor
is no longer supported by the Scala editor because there are very few
cases where this feature really makes sense. Most of the time one can
use a template to generate code where the opening brace is at the
correct position.
Fixes #1002056
Branch: master
Commit: scala-ide:e2c86fb302
This auto edit always moves the semicolon to the end of the line unless
the cursor is inside a for comprehension - the only place in Scala where
the usage of semicolons is a syntax feature.
The "auto insert braces at corret position" feature of the Java editor
is no longer supported by the Scala editor because there are very few
cases where this feature really makes sense. Most of the time one can
use a template to generate code where the opening brace is at the
correct position.
Fixes #1002056
Branch: master
Commit: scala-ide:e2c86fb302
No file chosen
You have an empty file field. Please select or remove it.
Name | Size |
---|