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

JavaScript comment moved to next line during formatting

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.2.1
    • Fix Version/s: None
    • Component/s: JS
    • Labels:
      None
    • Story Points:
      5

      Description

      Steps to Reproduce

      1. Create JavaScript file with single line:

        alert("test"); // alert
        

      2. Format it (Ctrl+Shift+F).

      Actual Result

      alert("test");
      // alert
      

      Expected Result

      alert("test"); // alert
      

      Comment at the end of line should not be moved to the next line.

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              victor-homyakov Victor Homyakov
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Integration