Path: blob/main/extensions/json/language-configuration.json
3290 views
{1"comments": {2"lineComment": "//",3"blockComment": [4"/*",5"*/"6]7},8"brackets": [9[10"{",11"}"12],13[14"[",15"]"16]17],18"autoClosingPairs": [19{20"open": "{",21"close": "}",22"notIn": [23"string"24]25},26{27"open": "[",28"close": "]",29"notIn": [30"string"31]32},33{34"open": "(",35"close": ")",36"notIn": [37"string"38]39},40{41"open": "'",42"close": "'",43"notIn": [44"string"45]46},47{48"open": "\"",49"close": "\"",50"notIn": [51"string",52"comment"53]54},55{56"open": "`",57"close": "`",58"notIn": [59"string",60"comment"61]62}63],64"indentationRules": {65"increaseIndentPattern": "({+(?=((\\\\.|[^\"\\\\])*\"(\\\\.|[^\"\\\\])*\")*[^\"}]*)$)|(\\[+(?=((\\\\.|[^\"\\\\])*\"(\\\\.|[^\"\\\\])*\")*[^\"\\]]*)$)",66"decreaseIndentPattern": "^\\s*[}\\]],?\\s*$"67},68"onEnterRules": [69// Add // when pressing enter from inside line comment70{71"beforeText": {72"pattern": "\/\/.*"73},74"afterText": {75"pattern": "^(?!\\s*$).+"76},77"action": {78"indent": "none",79"appendText": "// "80}81},82]83}848586