CMS솔루션마켓, 이온디 - 워드프레스, 라이믹스, 카페24, 그누보드, 엑셀

웹기술을 같이 공유합니다

I assume you are talking about indents (leading spaces). If so:

  • Edit | Convert Indents | To Spaces
  • Edit | Convert Indents | To Tabs

For this you need to open such file and select text you want to process.


Alternatively: you can process a bunch of files at once via "Code | Reformat Code..." (will be done accordingly to your Code Style).. but that will do actual full reformat, which may not be desirable in some cases (e.g. limited formatting rules; or rules do not fork as you need (limited options; edge cases); or whatever).

출처 : https://stackoverflow.com/questions/19966734/convert-tabs-to-spaces-phpstorm


참조:

https://www.jetbrains.com/help/phpstorm/changing-indentation.html

https://www.jetbrains.com/help/phpstorm/common-code-style-options-tabs-and-indents.html

추천한 사람