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

        Joel Witt (Inactive) created issue -
        Joel Witt (Inactive) made changes -
        Field Original Value New Value
        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 a video capture of an example

        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
        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
        Joel Witt (Inactive) made changes -
        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
        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.
        Joel Witt (Inactive) made changes -
        Priority None [ 6 ] Low [ 4 ]
        Michael Xia (Inactive) made changes -
        Assignee Ingo Muschenetz [ ingo ] Chris Williams [ cwilliams ]
        Fix Version/s Aptana Studio 3.1 [ 11505 ]
        Chris Williams made changes -
        issue.field.resolutiondate 2011-10-14 11:49:03.0 2011-10-14 11:49:03.93
        Chris Williams made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s Aptana Studio 3.0.7 [ 12373 ]
        Resolution Fixed [ 1 ]
        Joel Witt (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Nikolai Derzhak made changes -
        Workflow Appc-Jira [ 94300 ]  PyDev migration copy of Appc-Jira [ 115987 ]
        Nikolai Derzhak made changes -
        Workflow  PyDev migration copy of Appc-Jira [ 115987 ] Appc-Jira [ 123629 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development