Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-220

Module pattern incorrectly indented

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 8.2
    • None
    • javascript - Editor
    • None
    • Java 8, netbeans 8.2

    Description

      The following piece of code:

      (function (window) {
        var module;
        window.module = module;
      }(window)
      );
      

      Gets indentated as

      (function (window) {
        var module;
        window.module = module;
      }(window)
              );
      

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            dusty Alessandro Polverini
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: