推荐学习书目
› 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 · 3113 views
    This topic created in 3370 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
    ethanlu
    Aug 25, 2017
    1
    我试了一下没问题啊,是 4 个空格
    letianqiu
    letianqiu
    OP
    Aug 26, 2017 via Android
    2
    @ethanlu 但是我真的是变成 2 个空格。你是什么 OS。我是 win10 的。不写 python 的时候是 4 个空格。所以肯定是和 anaconda 有关。
    ethanlu
    ethanlu
    Aug 26, 2017 via Android
    3
    win10
    letianqiu
    letianqiu
    OP
    Aug 26, 2017
    4
    @ethanlu 找到问题了。不是 Anaconda 引起的,是我原来装的 python3 的 package 引起的。把 python3 这个 package remove 之后,就可以了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4554 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 03:23 · PVG 11:23 · LAX 19:23 · JFK 22:23
    ♥ Do have faith in what you're doing.