Can I display code differently than it is saved?

We have different developers on our team and while we have a common codestyle we all follow, not everyone is overly happy with it.

For example, our Codestyle document states to not use blanks when defining varibles. So we write $foo="bar" instead of $foo = "bar", but some guys would love to have the spaces for readability.

Thus the question: is it possible in PHPStorm to save the code in one style but have it displayed in the editor in another style?

0
2 comments

Sorry, but it is not possible.

Of course, you still can reformat the file to the code style you like but this change will be saved to a file.

0

Please sign in to leave a comment.