Aptana Studio
  1. Aptana Studio
  2. APSTUD-3640

JavaScript Editor Adds Space After Comment

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Low 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.

        Activity

        Hide
        Chris Williams added a comment -

        Pushed unit test and bugfix to both 'release' and 'development' branches.

        Show
        Chris Williams added a comment - Pushed unit test and bugfix to both 'release' and 'development' branches.
        Hide
        Joel Witt (Inactive) added a comment -

        Aptana Studio 3, build: 3.0.7.201110281756
        Windows 7

        Editor no longer adds superfluous spaces (http://screencast.com/t/0WmZypYckY).

        Show
        Joel Witt (Inactive) added a comment - Aptana Studio 3, build: 3.0.7.201110281756 Windows 7 Editor no longer adds superfluous spaces ( http://screencast.com/t/0WmZypYckY ).

          People

          • Assignee:
            Chris Williams
            Reporter:
            Joel Witt (Inactive)
          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development