Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-7221

JavaScript: Formatter adds space at 'for' loops

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.2.0
    • Fix Version/s: None
    • Component/s: Formatting, JS

      Description

      javascript formater space setting for loop expressions is set to:

      1 before opening, 0 after opening, 0 before closing.
      Preview looks fine but inside code aptana always displays 1 space after opening if "var" is not used

      for (var i = Things.length - 1; i >= 0; i--) {
      	// Formater OK
      }
      for ( i = Things.length - 1; i >= 0; i--) {
      	// Formater fails
      }
      for (i in Things) {
      	// Formater OK
      }
      

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              rwm Reinhart Mayer
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code