I comment single-line descriptive comments with a space and disabled code without a space like this:
// the following line of code is commented out
//$code = fetch_something();
It makes it easy to identify descriptive comments and re-enable disabled code. However, the latest Zend Studio (9.0.4 I'm using) automatically puts the space between the double-slashes and the text when I auto-format, and I see no option to set this. I can set spacing on everything else and have some basic options for commenting in Code Formatter, but not this specific thing. How do I get it to either ignore comment formatting or format it the way I want?
General discussion on Zend Studio
2 posts • Page 1 of 1