When you use phpstorm to open a project, an automatic prompt is displayed. If you don't want to press one of them, you can accidentally change the phpstorm encoding specifications. The four spaces in the past are changed to tabs. Where can I change the tab to four spaces? When you use phpstorm to open a project, an automatic prompt is displayed. If you don't want to press one of them, you can accidentally change the phpstorm encoding specifications. The four spaces in the past are changed to tabs. Where can I change the tab to four spaces?
Reply content:
When you use phpstorm to open a project, an automatic prompt is displayed. If you don't want to press one of them, you can accidentally change the phpstorm encoding specifications. The four spaces in the past are changed to tabs. Where can I change the tab to four spaces?
UseCtrl + Alt + S
Outbound callSettings
Window;
Select pathEditor-> Code Style
;
Then select the language you want to change, as shown in figurePHP
;
Right windowTabs and Indents
Option page, adjustable.
Let's take a look:
Video tutorial
Https://laravist.com/series/phpstorm-the-best-php-ide-you-ever-met