Atom - Force Tab Width 2

后端 未结 3 389
执笔经年
执笔经年 2020-12-30 07:46

I just switched from Sublime Text to Atom in order to turn completely open source.

I have trouble with something very very simple: I want Atom to use always (!) and

3条回答
  •  不知归路
    2020-12-30 08:02

    This is what worked for me.

    1. Disable all non-default packages
    2. Open ~/.atom/config.cson, and append this (same level than the "*" element)

    :

    ".python.source":
      editor:
        autoIndent: true
        tabLength: 2
    
    1. Re-enable all packages.

    I got this help from someone else. Not my own discovery. However, for confidentiality, I cannot cite the source.

提交回复
热议问题