Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 31 additions & 26 deletions language-configuration.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,33 @@
{
"comments": {
// symbol used for single line comment
"lineComment": "//",
// symbols used for start and end a block comment
"blockComment": ["/*", "*/"]
},
// symbols used as brackets
"brackets": [["{", "}"], ["[", "]"], ["(", ")"]],
// symbols that are auto closed when typing
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
],
// symbols that that can be used to surround a selection
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
],
// (built-in identifier)|(quoted identifier)|(each record field)|(number.float)|(number.hex)|(number)|(identifier)
"wordPattern": "(#\\w+)|(#\".+?\")|(_?\\[\\w+\\])|(-?\\d*\\.\\d+(?:[eE][\\-+]?\\d+)?)|(-?0[xX][0-9a-fA-F]+)|(-?\\d+(?:[eE][\\-+]?\\d+)?)|([^\\[\\]\\`\\~\\!\\@\\%\\^\\&\\*\\(\\)\\-\\=\\+\\{\\}\\\\\\|\\;\\:\\'\\\"\\,\\<\\>\\/\\?\\s]+)"
"comments": {
// symbol used for single line comment
"lineComment": "//",
// symbols used for start and end a block comment
"blockComment": ["/*", "*/"]
},
// symbols used as brackets
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"]
],
// symbols that are auto closed when typing
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
],
// symbols that that can be used to surround a selection
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
],
// If you change this pattern also change it in PowerQuery\Web's MLanguage.ts
// (built-in identifier)|(quoted identifier)|(each record field)|(number.float)|(number.hex)|(number)|(identifier)
"wordPattern": "(#\\w+)|(#\".+?\")|(_?\\[\\w+\\])|(-?\\d*\\.\\d+(?:[eE][\\-+]?\\d+)?)|(-?0[xX][0-9a-fA-F]+)|(-?\\d+(?:[eE][\\-+]?\\d+)?)|([^\\[\\]\\`\\~\\!\\@\\%\\^\\&\\*\\(\\)\\-\\=\\+\\{\\}\\\\\\|\\;\\:\\'\\\"\\,\\<\\>\\/\\?\\s]+)"
}
Loading