This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270086 - Reformat Issues in PHP+HTML Files
Summary: Reformat Issues in PHP+HTML Files
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-16 09:31 UTC by gianluca.ferrantelli
Modified: 2017-03-16 09:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gianluca.ferrantelli 2017-03-16 09:31:35 UTC
Every time I have a file with PHP and HTML together ( as for  Zend Framework Template ), the "reformat" cannot be used, because NB is not able to do this in the right way; for example, if I have a list of "<li>", when I edit the <?=$phpcode?> inside, the EDITOR brokes the indentation of some of  "<li>".

It could be also useful, if the fix is not so easy, to enable or disable "Reformat on Save" functionality depending on the type of the file ( only PHP files, for example ) ; actually you can enable or disable it globally.