Home
Sign Up
Sign In
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
有小伙伴知道 pycharm 里面能针对某类型的文件单独设置缩进吗
mashpolo
·
mashpolo
·
Jul 30, 2018
· 2712 views
This topic created in 3017 days ago, the information mentioned may be changed or developed.
主要是后端默认用 4 个空格来缩进,但前端需要能默认是两个空格,看了一圈没找到设置的地方,有小伙伴了解的吗?
空格
默认
PyCharm
小伙伴
4 replies
•
2018-07-30 14:03:00 +08:00
1
lk0317
Jul 30, 2018
Settings —— Editor —— Code Style 按语言选
2
josephpei
Jul 30, 2018
自带插件 EditorConfig,使用方法搜索之
3
neoblackcap
Jul 30, 2018
2 楼+1
更好让团队的人员风格统一
4
mashpolo
OP
Jul 30, 2018
@
lk0317
#1
@
josephpei
#2 感谢指点
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2987 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms ·
UTC 12:21
·
PVG 20:21
·
LAX 04:21
·
JFK 07:21
♥ Do have faith in what you're doing.
❯