You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Alessandro Polverini (JIRA)" <ji...@apache.org> on 2017/12/18 17:02:00 UTC

[jira] [Created] (NETBEANS-220) Module pattern incorrectly indented

Alessandro Polverini created NETBEANS-220:
---------------------------------------------

             Summary: Module pattern incorrectly indented
                 Key: NETBEANS-220
                 URL: https://issues.apache.org/jira/browse/NETBEANS-220
             Project: NetBeans
          Issue Type: Bug
          Components: javascript - Editor
    Affects Versions: 8.2
         Environment: Java 8, netbeans 8.2
            Reporter: Alessandro Polverini


The following piece of code:

{code:javascript}
(function (window) {
  var module;
  window.module = module;
}(window)
);
{code}

Gets indentated as
{code:javascript}
(function (window) {
  var module;
  window.module = module;
}(window)
        );
{code}

i.e.: the last closing brace is indentated while it should be at the same level of the first opening brace





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org