Sublime text:如何禁用自动匹配 'quotes'

Sublime text: How to disable automatching 'quotes'

这是我的问题:在常见的 lisp 中,'single quote' 不用于字符串,因此不会与另一个引号成对出现,因此 sublime text 自动插入另一个引号弊大于利。如何仅针对 lisp 和单引号禁用该选项

只需将键绑定添加到您的键映射(您可以在首选项、键绑定中找到)并在用户选项卡中粘贴此内容:

{
  "keys": ["'"], "command": "insert", "args": {"characters": "'"},
  "context":
  [
    { "key": "selector", "operator": "equal", "operand": "source.lisp" }
  ]
},

如果您还需要什么,请告诉我!我在sublime text中测试过(我也用)

如果您进入 Sublime Text 3 的首选项 > 设置,您应该会看到可以手动控制的各种首选项。此行控制引号的自动配对:

// Controls auto pairing of quotes, brackets etc
"auto_match_enabled": true,

要覆盖它,请将 "auto_match_enabled": false 添加到括号之间的右窗格(用户首选项)并保存以更新您的首选项。如果您在右窗格中已有首选项,请确保用“,”分隔,就像 json 属性一样。