phpstorm 怎么设置编码规范

WBOY
Release: 2016-06-06 20:26:33
Original
1965 people have browsed it

用phpstorm打开项目的时候有个自动提示,没多想按了其中一个,一不小心就把phpstorm的编码规范给换掉了,以前四个空格都变成tab了。请问在哪儿设置将tab换成4个空格呢?

回复内容:

用phpstorm打开项目的时候有个自动提示,没多想按了其中一个,一不小心就把phpstorm的编码规范给换掉了,以前四个空格都变成tab了。请问在哪儿设置将tab换成4个空格呢?

  1. 使用Ctrl+Alt+S呼出Settings窗口;

  2. 选择路径Editor->Code Style

  3. 接着选择你要更改的语言,如PHP

  4. 右侧窗口Tabs and Indents选项页,可调各种。

这里看看:

视频教程
https://laravist.com/series/phpstorm-the-best-php-ide-you-ever-met

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!