《Atom 编辑器基础配置》

《Atom 编辑器基础配置》

1. 配置文件:config.cson

Atom 的配置由 config.cson 管理,通过菜单打开:

Atom -> Config

或命令面板(Cmd + Shift + P)搜索 open config。

2. 设置 Python 语言 Tab 长度为 4

".python.source":
  editor:
    tabLength: 4

全局设置编辑器 Tab 长度为 4:

"*":
  editor:
    fontSize: 16
    softWrap: true
    tabLength: 4

3. 常见配置示例

"*":
  core:
    disabledPackages: [
      "go-plus"
    ]
    excludeVcsIgnoredPaths: false
    packagesWithKeymapsDisabled: []
    telemetryConsent: "no"
    themes: [
      "atom-dark-ui"
      "solarized-light-syntax"
    ]
  editor:
    fontSize: 16
    softWrap: true
    tabLength: 4
  "exception-reporting":
    userId: "your-user-id"
  "symbols-tree-view":
    autoToggle: false
    zAutoHideTypes: "variable"
  welcome:
    showOnStartup: false

4. 关闭拼写检查

  1. 调出命令面板 Cmd + Shift + P。
  2. 搜索 spell check。
  3. 选择 Spell Check: Toggle 即可切换开关。

5. 相关资源

在命令面板输入 Install Packages 可安装插件,官方文档:

https://flight-manual.atom.io/

阅读 — · 全站 —
🎸 我的歌单 0 首