提交 4add1695 编写于 作者: M Matt Bierner 提交者: GitHub

Disable (#16350)

**Bug**
In python file, typing `'` in a string or comment results in `''` due to auto closing pairs.

**fix**
Apply same fix that we use for Typescript to disable this behavior in strings and comments https://github.com/Microsoft/vscode/blob/master/extensions/typescript/language-configuration.json

Fixes #8539
上级 e5518074
......@@ -9,11 +9,11 @@
["(", ")"]
],
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
{ "open": "{", "close": "}" },
{ "open": "[", "close": "]" },
{ "open": "(", "close": ")" },
{ "open": "\"", "close": "\"", "notIn": ["string"] },
{ "open": "'", "close": "'", "notIn": ["string", "comment"] }
],
"surroundingPairs": [
["{", "}"],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册