美文网首页python基础
PyCharm 使用技巧 设置Tab为4个空格 显示空格

PyCharm 使用技巧 设置Tab为4个空格 显示空格

作者: 徐大亮 | 来源:发表于2019-03-10 00:16 被阅读35次

设置Tab为4个空格

File -> Settings -> Editor -> Code Style -> Python -> Tabs and indents
image1.png

显示出空格

File -> Settings -> Editor -> General -> Appearance -> Show whitespaces
image2.png

调整代码字体大小

File -> Settings -> Editor -> Font -> Size
屏幕快照 2019-03-10 下午12.35.46.png

相关文章

网友评论

    本文标题:PyCharm 使用技巧 设置Tab为4个空格 显示空格

    本文链接:https://www.haomeiwen.com/subject/asuypqtx.html