You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tomáš Procházka (Jira)" <ji...@apache.org> on 2020/07/02 21:01:00 UTC

[jira] [Commented] (NETBEANS-3353) Problem with formating code

    [ https://issues.apache.org/jira/browse/NETBEANS-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17150580#comment-17150580 ] 

Tomáš Procházka commented on NETBEANS-3353:
-------------------------------------------

Please provide sample project where this behavior can be tested and verified.

> Problem with formating code
> ---------------------------
>
>                 Key: NETBEANS-3353
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3353
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Formatting &amp; Indentation, php - Formatting &amp; Indentation, php - Refactoring
>    Affects Versions: 8.2, 9.0, 10.0, 11.1
>         Environment: Centos 7, Windows 7
>            Reporter: Serge Tkach
>            Priority: Major
>              Labels: formatter, formatting, highlight, highlighter, mimetypes, syntax
>
> 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...



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

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

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