sublimetext-codeformatter icon indicating copy to clipboard operation
sublimetext-codeformatter copied to clipboard

Ignoring part of PHP file

Open SerendipityNL opened this issue 8 years ago • 1 comments

With the JavaScript parser we can skip a piece of code by adding the following comment:

/* beautify preserve:start */

Is there a similar comment for letting the PHP parser skip a file? Because it formats a part of my code wrong and I want to disable it just for that one line.

SerendipityNL avatar Nov 01 '17 15:11 SerendipityNL

I too have this question (though in my case that which I wish to ignore comprises some lines in a Javascript file).

LinuxOnTheDesktop avatar Mar 02 '22 00:03 LinuxOnTheDesktop