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

pycharm 是否可以设置全部折叠代码的层级?

  •  
  •   vtoexsir · Dec 7, 2016 · 4624 views
    This topic created in 3586 days ago, the information mentioned may be changed or developed.

    ctrl+shift+数字键+:展开所有的折叠
    ctr+shift+数字键-:收缩所有折叠
    我想说的是,python 代码中,折叠的层级可以有多级或者说折叠的深度不同.
    如上两个快捷方式可以快速折叠全部代码,但都不能控制折叠或展开的深度.
    比如我要全部折叠到一层深度.
    请问我该怎么操作呢?
    多谢您的回复!

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   834 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 22:09 · PVG 06:09 · LAX 15:09 · JFK 18:09
    ♥ Do have faith in what you're doing.