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

Problem with formating code

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            sergetkach Serge Tkach

            Dates

              Created:
              Updated:

              Slack

                Issue deployment