Details

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

      Windows 7

      Description

      <!-- PHP not formatting properly when html is wrapped in a condition. Using default php formatter settings. -->

      <div>
      	<div></div>
      	<?php
      // anything below this line is not indented.
      $count = 1;
       
      switch($count) {
      case 1:
      $obj->method();
      break;
      }
       
      if($count):// same for an opening brace if($count) {
      	?>
      	<div>Blah</div>
      	<?php endif;?> // Need to be able to add space before ?> and after <?php if on a single line
      

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              mmaranao Marco Maranao
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code