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

JavaScript Editor Adds Space After Comment

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Aptana Studio 3, build: 3.0.5.201109300958
      Ubuntu 10.10

      Description

      Upon adding a normal or JSDoc comment prior to a statement, pressing enter to place that statement on a new line will prefix a space before the statement.

      Steps to Replicate :

      Please see http://screencast.com/t/ft3OedRTZ for an example video capture

      1) Open Aptana Studio
      2) Open a JavaScript file with a statement, function, etc
      3) Immediately prior to the statment, function, etc, add a /* or /** opening token
      4) Press enter to auto-complete the comment
      5) Move the caret immediately prior to the statement, function etc and press enter to place the statement, function etc on a new line

      Actual Results :

      Studio will prefix the statement, function, etc with a space.

      Expected Results :

      Studio should not add spaces in this case.

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              jwitt Joel Witt
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code