You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "piraids (via GitHub)" <gi...@apache.org> on 2026/04/18 17:36:41 UTC
[I] Formating php file with html tags [netbeans]
piraids opened a new issue, #9353:
URL: https://github.com/apache/netbeans/issues/9353
### Apache NetBeans version
Apache NetBeans 29
### What happened
When format code by Alt + Shift + F addings tabs before html tags
Before format
<img width="440" height="284" alt="Image" src="https://github.com/user-attachments/assets/e80d7a75-644f-44d2-9fdd-acc0bf1098cc" />
After 1 Format
<img width="423" height="276" alt="Image" src="https://github.com/user-attachments/assets/5287ae38-66f4-411a-9b29-0b43e59c2cfc" />
After 10 Format
<img width="594" height="276" alt="Image" src="https://github.com/user-attachments/assets/15273059-fa2a-4d88-8040-31240dea355c" />
How this fix? Comment not format too (screen 1 -> screen 2). but html tags always add tabs before. In ver 21 this not happen and config was imported from ver 21 where all fine
### Language / Project Type / NetBeans Component
PHP project
### How to reproduce
create php file with code and run format Alt + Shift + F
<img width="415" height="258" alt="Image" src="https://github.com/user-attachments/assets/cd63521d-0bdd-4ba4-a4be-265a82a0530a" />
settings
<img width="967" height="515" alt="Image" src="https://github.com/user-attachments/assets/1be74959-e7fa-426e-b764-f22275ac89c1" />
<img width="930" height="499" alt="Image" src="https://github.com/user-attachments/assets/cc683841-7e40-4809-942d-3102d6f2d336" />
### Did this work correctly in an earlier version?
Apache NetBeans 25 or earlier
### Operating System
windows 10
### JDK
26
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
_No response_
### Are you willing to submit a pull request?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists