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 247126 - Request for indentation style also on PHP and javascript
Summary: Request for indentation style also on PHP and javascript
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ondrej Brejla
Depends on:
Reported: 2014-09-15 11:59 UTC by Aldo_Mariussi
Modified: 2014-09-22 07:20 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Aldo_Mariussi 2014-09-15 11:59:08 UTC
Our company indentation style for PHP and javascript is:

if (true)
    // do stuff

or (Visually with whitespace made explicit):
if (true)
[space][space][space][space]// do stuff

Exactly the same issue was dealt with and solved for C++.

This a link to the request for C++:

This is a link to the solution (only for C++)

Would you be so kind to implement the same solution (I assume it should be simple since it has already been solved for C++) also for PHP and Javascript?

If possible could you make it available also for other programming languages? (eg: CSS, HTML, Java)

Thank you VERY MUCH!!!