Edgar Gudiel
Edgar Gudiel

Reputation: 1

How to use tab indentation in the whole document (PhpStorm)

I have set the configuration of PhpStorm to use tab indentation but it doesn't work as I expected so I wonder if there is any solution for what I want. So the editor use tabs at the beginning of every line but after I write any word and use the tab character again it uses spaces instead. This is driving me crazy, I'd appreciate some help!

Here are some images to help understand more what I want...

Here is how it currently works in PhpStorm:

phpstorm

And this is how I'd like it to work:

vscode

Upvotes: 0

Views: 270

Answers (1)

Dmitrii
Dmitrii

Reputation: 3557

Try disabling "Smart tabs" checkbox at File | Settings | Editor | Code Style | PHP > Tabs and Indents tab

Upvotes: 2

Related Questions