Reputation: 4516
Currently when I edit some file in WebStorm 2016.2.0 and I press tab, WebStrom is actually adding 2 space bars. There should be a setting somewhere in the editor for this. I want to have tab character instead the default 2 space-bars, my question is how to do this ?
Upvotes: 1
Views: 96
Reputation: 7072
You can change this option for each of the supported languages at:
Settings > Editor > Code Style > [Choose your language] > Tabs and Indents > Use tab character
Or you can add a .editorconfig
file in the root of your project to set your preferences globally. All that you'll need to write in it is indent_style = tab
Upvotes: 1