Reputation: 23
I feel comfortable working with 4-space indentation. However, most of my colleagues want 2 spaces. The linter is set up for 2 spaces.
Is there any way to make WebStorm displays 2 spaces the same size as 4 spaces? So when the code on my local machine would display the way I want and the way the others want on other machines.
Upvotes: 1
Views: 145
Reputation: 26462
The Elastic Indents plugin seems to do what you want (I haven't tried it myself).
Upvotes: 0
Reputation: 12815
Currently, there is no way to achieve that. Feel free to vote for "Virtual indents" feature on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-237957
Upvotes: 2