Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3353

Problem with formating code

    XMLWordPrintableJSON

    Details

    • Flags:
      Patch

      Description

      NetBeans formating is ugly for files with mixed code.

      Example: I have html file with php code (somefile.phtml)

      If I select mime html for *.phtml - no php-code syntax highlight.

      If I select mime php for *.phtml - is code syntax highlight for php and html, but formatting is as for php. But php standarts (4 spaces) is different with html-standarts (2 spaces)...

      But if I need work with OpenCart - php must be formatted witt 1 tab...

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sergetkach Serge Tkach
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: