vscode-intelephense
vscode-intelephense copied to clipboard
Formatter: Option to ignore section or line
Feature description or problem with existing feature
It would be nice to have the option to ignore sections or lines from the formatter. As you know, you have couple problems with bad formatting, so excluding can help sometimes
Describe the solution you'd like
Maybe something like in Stylelint eg.:
/* stylelint-disable */
a {}
/* stylelint-enable */
Or like in phpcs:
<?php
// phpcs:ignoreFile
public function store($myArray) // phpcs:ignore
// @codingStandardsIgnoreStart
class MyClassTest extends \PHPUnit_Framework_TestCase
{
// @codingStandardsIgnoreEnd
// ...
}
can any one tell me if the above feature exist.
As you can see, the ticket is still open so it hasn't been implemented yet
As you can see, the ticket is still open so it hasn't been implemented yet
How about now? Just kidding.
@bmewburn are there plans for this or is it one of those quirky things that don't pop up often enough to actually do much about it?
I'm of course aware you have a subscriber model and their requests would come first. Man's gotta pay bill.
+1 for this.
+1 for this!
+1 for this :)
instead of commenting "+1", i think you should show your support by hitting the thumbs-up on the issue :)
+1
+1 for this!
2+ years old, can we get this? I need it for code blocks with whitespace-pre on it in php template files. I will tip via paypal for the feature.
+1
+1 Formatting CSS selectors containing echoed PHP breaks the selector.
+1
I think this is a very much-needed feature, I'm sure the people here do not represent the total of developers needing this feature.
I need to constantly turn off and on formatting on settings.json