V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
yellowtail
V2EX  ›  Python

pycharm 能自动帮我在运算符变量之间加空格吗

  •  
  •   yellowtail · 2019-08-12 16:24:54 +08:00 · 2528 次点击
    这是一个创建于 1712 天前的主题,其中的信息可能已经有所发展或是发生改变。
    被自己写的东西丑哭了
    4 条回复    2019-08-12 17:10:51 +08:00
    q408737515
        1
    q408737515  
       2019-08-12 16:41:39 +08:00   ❤️ 1
    ctrl+alt+L 可以格式化 代码
    wersonliu9527
        2
    wersonliu9527  
       2019-08-12 16:43:10 +08:00   ❤️ 1
    如果你的代码没报错,ctrl+alt+l pycharm 能帮你格式化代
    chengxiao
        3
    chengxiao  
       2019-08-12 17:01:09 +08:00   ❤️ 1
    mac 下是 opt+cmd+L
    另外提醒下 如果是 win 的话 快捷键跟搜狗输入法和印象笔记冲突....
    yellowtail
        4
    yellowtail  
    OP
       2019-08-12 17:10:51 +08:00
    谢谢。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1010 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 118ms · UTC 19:00 · PVG 03:00 · LAX 12:00 · JFK 15:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.