Been using netbeans for PHP development and discovered that it will remove the leading whitespace from comments and then the comments inside a block of code are hard up against the left margin which looks weird.
Not sure if there is a setting to stop this behaviour but if you do the following you will get your indented comments back.
![Screen Shot 2016-06-20 at 9.37.50 AM](https://toggen.com.au/wp-content/uploads/2016/06/Screen-Shot-2016-06-20-at-9.37.50-AM.png)
The fix is to put a space before each //. I have shown non-printable characters to make this clear. Then all you do is select the code and do Source => Format
To do it quicker use a regex to find and replace the replace with value ” //” has a leading space:
0 Comments