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

PHP: Unable to format comment block inside "if" statement

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.4.2
    • Fix Version/s: None
    • Component/s: Formatting, PHP
    • Labels:
      None
    • Environment:

      Windows 7.

      Description

      Unable to format error message when trying to format following:

      just add block comment to if
      example:

      if($null /* && isset($missed) */ )
      {
      echo "test";
      } 
      

      syntax is correct ( just added an comment block inside IF )
      but formatter doesn't work.

      !ENTRY com.aptana.formatter.epl 4 0 2014-03-06 13:43:31.549
      !MESSAGE (Build 3.4.2.201308081805) [ERROR] com.aptana.formatter.epl/debug Error while formatting the code in your editor.
      Please submit a bug report through Studio's support and include the relevant code which triggered this error.
      You may also turn on the com.aptana.formatter.epl/debug at the Studio's Troubleshooting preference page to log more details about this error.

      !ENTRY com.aptana.formatter.epl 4 0 2014-03-06 13:43:31.818
      !MESSAGE (Build 3.4.2.201308081805) [ERROR] com.aptana.formatter.epl/debug Error while formatting the code in your editor.
      Please submit a bug report through Studio's support and include the relevant code which triggered this error.
      You may also turn on the com.aptana.formatter.epl/debug at the Studio's Troubleshooting preference page to log more details about this error.

      Expected result:
      if($null /* && isset($missed) */ )

      { echo "test"; }

        Attachments

          Activity

            People

            • Assignee:
              ingo Ingo Muschenetz
              Reporter:
              reactoranime Pavel
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code