mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Migrate all other languages to language-configuration.json
This commit is contained in:
36
extensions/powershell/language-configuration.json
Normal file
36
extensions/powershell/language-configuration.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"comments": {
|
||||
"lineComment": "#",
|
||||
"blockComment": [ "<#", "#>" ]
|
||||
},
|
||||
"brackets": [
|
||||
["{", "}"],
|
||||
["[", "]"],
|
||||
["(", ")"]
|
||||
],
|
||||
"autoClosingPairs": [
|
||||
["{", "}"],
|
||||
["[", "]"],
|
||||
["(", ")"],
|
||||
["\"", "\""],
|
||||
["'", "'"]
|
||||
],
|
||||
"surroundingPairs": [
|
||||
["{", "}"],
|
||||
["[", "]"],
|
||||
["(", ")"],
|
||||
["\"", "\""],
|
||||
["'", "'"]
|
||||
]
|
||||
|
||||
// enhancedBrackets: [
|
||||
// { tokenType:'string', openTrigger: '"', open: /@"$/, closeComplete: '"@' },
|
||||
// { tokenType:'string', openTrigger: '\'', open: /@'$/, closeComplete: '\'@' },
|
||||
// { tokenType:'string', openTrigger: '"', open: /"$/, closeComplete: '"' },
|
||||
// { tokenType: 'string', openTrigger: '\'', open: /'$/, closeComplete: '\'' }
|
||||
// ],
|
||||
|
||||
// autoClosingPairs: [['{', '}'], ['[', ']'], ['(', ')']], // Defined explicitly, to suppress the
|
||||
// // default auto-closing of ' and " which is
|
||||
// // override above by enhancedBrackets
|
||||
}
|
||||
Reference in New Issue
Block a user