mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 04:36:23 +00:00
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
This commit is contained in:
@@ -9,11 +9,11 @@
|
||||
["(", ")"]
|
||||
],
|
||||
"autoClosingPairs": [
|
||||
["{", "}"],
|
||||
["[", "]"],
|
||||
["(", ")"],
|
||||
["\"", "\""],
|
||||
["'", "'"]
|
||||
{ "open": "{", "close": "}" },
|
||||
{ "open": "[", "close": "]" },
|
||||
{ "open": "(", "close": ")" },
|
||||
{ "open": "\"", "close": "\"", "notIn": ["string"] },
|
||||
{ "open": "'", "close": "'", "notIn": ["string", "comment"] }
|
||||
],
|
||||
"surroundingPairs": [
|
||||
["{", "}"],
|
||||
|
||||
Reference in New Issue
Block a user