推荐学习书目
› 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
1up
V2EX  ›  Python

pycharm有没有对齐HTML代码的快捷键

  •  
  •   1up · Sep 5, 2013 · 22969 views
    This topic created in 4805 days ago, the information mentioned may be changed or developed.
    类似VS 中的ctrl +f+k
    5 replies  •  2016-09-28 15:37:00 +08:00
    willerce
        1
    willerce  
       Sep 5, 2013   ❤️ 1
    用格式化,Menu -> Code -> Reformat Code (ctrl+alt+l)

    缩进的格式,换行,对齐方式可以在 Setting (ctrl+alt+s)(command+,) 中的 code style 中调整
    jianghu52
        2
    jianghu52  
       Sep 8, 2013
    我比较喜欢sublime text 里面的对齐,不过用的插件
    daweibao
        3
    daweibao  
       Jul 24, 2014
    默认是Ctrl+Alt+L
    要是快捷键冲突可以从下面方式找到更改
    File --->Settings --->Keymap --->Main menu --->code --->Reformat Code
    1up
        4
    1up  
    OP
       Jul 25, 2014 via Android
    lucat
        5
    lucat  
       Sep 28, 2016
    Ubuntu 下 ctrl+alt+ l 会和锁屏的冲突

    用 ctrl + alt + i 即可
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5407 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 02:44 · PVG 10:44 · LAX 18:44 · JFK 21:44
    ♥ Do have faith in what you're doing.