Is it possible to disable formatter for part of source?


I'm curious if it is possible to disable code formatter for part of file in PHPStorm? It is pretty strange, but sometimes desirable behavior in a case if code formatting provides additional information for developer. For example Symfony have an ability to declare so called "semantic configuration" and this declaration looks something like this example on github.

Having code formatter enabled globally in the project (which is good idea for most of other code) e.g. into Commit dialog kills this indentation.

Comment actions Permalink

Thank you, was not able to find these issues by myself


Please sign in to leave a comment.