Sublimetext3 如何禁用升华完成字符串文字并保持自动缩进 每当我在崇高中键入 时,添加终止引用 ,并将光标放在中间,像这样: ''/c>>/p>

Sublimetext3 如何禁用升华完成字符串文字并保持自动缩进 每当我在崇高中键入 时,添加终止引用 ,并将光标放在中间,像这样: ''/c>>/p>,sublimetext3,auto-indent,Sublimetext3,Auto Indent,扩展为“|”的“也是如此 这是我不想要的行为,我发现关闭它的唯一方法是设置: "auto_indent": false, 然而,这使得编写缩进代码变得很麻烦 还有什么方法可以使字符串文字不完整并保持自动缩进 我在Windows上的Sublime 3 Build 3114和Linux上的Sublime 3 Build 3083上对此进行了测试。设置的名称应为“自动匹配”(auto\u match\u enabled),如默认键绑定的定义所示: //自动对引号 {“keys”:[“\”“]”,“c

扩展为
“|”
也是如此

这是我不想要的行为,我发现关闭它的唯一方法是设置:

"auto_indent": false,
然而,这使得编写缩进代码变得很麻烦

还有什么方法可以使字符串文字不完整并保持自动缩进


我在Windows上的Sublime 3 Build 3114和Linux上的Sublime 3 Build 3083上对此进行了测试。

设置的名称应为“自动匹配”(auto\u match\u enabled),如默认键绑定的定义所示:

//自动对引号
{“keys”:[“\”“]”,“command”:“insert\u snippet”,“args”:{“contents”:“\“$0\”},“context”:
[
{“key”:“setting.auto_match_enabled”,“operator”:“equal”,“operator”:true},
{“key”:“selection_empty”,“operator”:“equal”,“operator”:true,“match_all”:true},
{“key”:“following_text”,“operator”:“regex_contains”,“operator”:“^(?::\t| \\)\124;]\ 124; \\}}>|$”,“match|u all”:true},
{“key”:“previous_text”,“operator”:“not_regex_contains”,“operator”:“[\“a-zA-Z0-9_]$”,“match_all”:true},
{“key”:“eol_选择器”,“运算符”:“not_equal”,“操作数”:“string.quoted.double-标点符号.定义.string.end”,“match_all”:true}
]
},

设置的名称应为“自动匹配”(auto\u match),如您在默认键绑定的定义中所见:

//自动对引号
{“keys”:[“\”“]”,“command”:“insert\u snippet”,“args”:{“contents”:“\“$0\”},“context”:
[
{“key”:“setting.auto_match_enabled”,“operator”:“equal”,“operator”:true},
{“key”:“selection_empty”,“operator”:“equal”,“operator”:true,“match_all”:true},
{“key”:“following_text”,“operator”:“regex_contains”,“operator”:“^(?::\t| \\)\124;]\ 124; \\}}>|$”,“match|u all”:true},
{“key”:“previous_text”,“operator”:“not_regex_contains”,“operator”:“[\“a-zA-Z0-9_]$”,“match_all”:true},
{“key”:“eol_选择器”,“运算符”:“not_equal”,“操作数”:“string.quoted.double-标点符号.定义.string.end”,“match_all”:true}
]
},

设置应该是
auto\u match\u enabled
Hi.似乎很有效。让我发疯了。谢谢。将此作为答案,我接受它。设置应该是
auto\u match\u enabled
Hi.似乎很有效。让我发疯了。谢谢。将此作为答案,我接受它。