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

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

    Details

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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code