Aptana Studio
  1. Aptana Studio
  2. APSTUD-3875

In PHP code, "/**/" [slash asterisk asterisk slash] acts like "/*" [slash asterisk]

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Low Low
    • Resolution: Fixed
    • Affects Version/s: Aptana Studio 3.0.6
    • Fix Version/s: Aptana Studio 3.0.8
    • Component/s: colorization, php
    • Labels:
      None
    • Environment:

      Description

      I often use "/*/" [slash asterisk asterisk slash] as a separator in PHP code (so easy to type on num pad), but in Apatana, everything after "//" [slash asterisk asterisk slash] looks like comment lines missing closing "/" [asterisk slash], just like I had typed "/*" [slash asterisk].
      Since PHP (C, Java and JS as well, just to name some other languages) consider "/**/" [slash asterisk asterisk slash] as a legal multi-line empty comment, I think Aptana should consider it accordingly.
      Please note that in JS code it is working as I consider correct.

        Activity

        Hide
        Shalom Gibly added a comment -

        Verified that this issue is fixed on 3.0.8 (as well as on 3.1)

        Show
        Shalom Gibly added a comment - Verified that this issue is fixed on 3.0.8 (as well as on 3.1)
        Hide
        Joel Witt (Inactive) added a comment -

        Aptana Studio 3, build: 3.0.8.201201131753
        Virtual Machine with Windows XP

        Replicated in Aptana Studio 3, build: 3.0.6.201110251455 (please see capture at http://www.screencast.com/t/P4EYvBy6xh0D). Confirmed newest version closes comment scope after closing token (please see capture at http://www.screencast.com/t/m4hewuXK).

        Show
        Joel Witt (Inactive) added a comment - Aptana Studio 3, build: 3.0.8.201201131753 Virtual Machine with Windows XP Replicated in Aptana Studio 3, build: 3.0.6.201110251455 (please see capture at http://www.screencast.com/t/P4EYvBy6xh0D ). Confirmed newest version closes comment scope after closing token (please see capture at http://www.screencast.com/t/m4hewuXK ).

          People

          • Assignee:
            Shalom Gibly
            Reporter:
            Fabio Battinini
          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development