[jbosstools-issues] [JBoss JIRA] (ERT-338) [formatter] Unwanted alignment on Enter when inside array literal [EBZ#356606]
Shane Bryzak (JIRA)
issues at jboss.org
Wed Jul 27 08:31:00 EDT 2016
[ https://issues.jboss.org/browse/ERT-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shane Bryzak reassigned ERT-338:
--------------------------------
Assignee: Shane Bryzak
> [formatter] Unwanted alignment on Enter when inside array literal [EBZ#356606]
> ------------------------------------------------------------------------------
>
> Key: ERT-338
> URL: https://issues.jboss.org/browse/ERT-338
> Project: Eclipse Release Train
> Issue Type: Task
> Components: JSDT
> Reporter: Friendly Jira Robot
> Assignee: Shane Bryzak
> Labels: Future, General, bzira
> Fix For: Neon.1 (4.6)
>
>
> Eclipse 3.7 (I20110613-1736)
> JSDT 1.3.0 (20110527214303)
> WTP 3.3.0 (20100921193530)
> 1. Create a new JavaScript file and add this code:
> function() {
> var myArray = [];
> }
> 2. Put the editing caret between the square brackets, and press Enter.
> 3. You get
> function() {
> var myArray = [
> ];
> }
> Inside array literals, pressing Enter causes the editor to insert spaces to align the new line with the opening [ bracket. I expected it to just increase the indentation level.
> This happens when using a new workspace with all the default preference settings.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list