[ 
https://issues.apache.org/jira/browse/NETBEANS-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Serge Tkach updated NETBEANS-3353:
----------------------------------
    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 syntaxix highlith.

If I select mime php for *.phtml - is code syntaxix highlith 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 wit 1 tab...

  was:
NetBeans formating ugly files with mixed code.

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

If I select mime html for *.phtml - no php-code syntaxix highlith.

If I select mime php for *.phtml - is code syntaxix highlith 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 wit 1 tab...


> Problem with formating code
> ---------------------------
>
>                 Key: NETBEANS-3353
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3353
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 8.2, 9.0, 10.0, 11.1
>         Environment: Centos 7, Windows 7
>            Reporter: Serge Tkach
>            Priority: Major
>              Labels: formatter, formatting, mimetypes
>
> 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 syntaxix highlith.
> If I select mime php for *.phtml - is code syntaxix highlith 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 wit 1 tab...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to