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

sublime text 3 anconda 插件的自动缩进能调整 size 吗?

  •  
  •   letianqiu · Aug 25, 2017 · 2897 views
    This topic created in 3207 days ago, the information mentioned may be changed or developed.
    sublime text 3 的 tabsize 设置是 4, 但是装完 anconda 以后,写 python 的时候自动缩进变成了 2 个空格。找遍 anconda 的设置,也没发现有相关的设置。有什么办法可以调整缩进吗?
    4 replies    2017-08-26 12:10:21 +08:00
    ethanlu
        1
    ethanlu  
       Aug 25, 2017
    我试了一下没问题啊,是 4 个空格
    letianqiu
        2
    letianqiu  
    OP
       Aug 26, 2017 via Android
    @ethanlu 但是我真的是变成 2 个空格。你是什么 OS。我是 win10 的。不写 python 的时候是 4 个空格。所以肯定是和 anaconda 有关。
    ethanlu
        3
    ethanlu  
       Aug 26, 2017 via Android
    win10
    letianqiu
        4
    letianqiu  
    OP
       Aug 26, 2017
    @ethanlu 找到问题了。不是 Anaconda 引起的,是我原来装的 python3 的 package 引起的。把 python3 这个 package remove 之后,就可以了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2760 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 00:19 · PVG 08:19 · LAX 17:19 · JFK 20:19
    ♥ Do have faith in what you're doing.