_
_
_umr2017-06-10 16:38:09
PHP
_umr, 2017-06-10 16:38:09

How to convert code in all files from tabs to spaces in phpstorm?

How to convert code in all files from tabs to spaces in phpstorm?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Serezha, 2017-06-10
@Umr001

Select files in the project explorer using ctrl or shift + click, then Ctrl + Alt + L.
Only then will it not only replace tabs with spaces, but also apply the current codestyle.

A
Alexey Skobkin, 2017-06-10
@skobkin

You can do this not with PhpStorm, but for example with php-cs-fixer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question