Path: blob/main/extensions/csharp/language-configuration.json
3309 views
{1"comments": {2"lineComment": "//",3"blockComment": [4"/*",5"*/"6]7},8"brackets": [9[10"{",11"}"12],13[14"[",15"]"16],17[18"(",19")"20]21],22"autoClosingPairs": [23[24"{",25"}"26],27[28"[",29"]"30],31[32"(",33")"34],35{36"open": "'",37"close": "'",38"notIn": [39"string",40"comment"41]42},43{44"open": "\"",45"close": "\"",46"notIn": [47"string",48"comment"49]50}51],52"surroundingPairs": [53[54"{",55"}"56],57[58"[",59"]"60],61[62"(",63")"64],65[66"<",67">"68],69[70"'",71"'"72],73[74"\"",75"\""76]77],78"colorizedBracketPairs": [79[80"{",81"}"82],83[84"[",85"]"86],87[88"(",89")"90],91[92"<",93">"94]95],96"folding": {97"markers": {98"start": "^\\s*#region\\b",99"end": "^\\s*#endregion\\b"100}101},102"onEnterRules": [103// Add // when pressing enter from inside line comment104// We do not want to match /// (a documentation comment)105{106"beforeText": {107"pattern": "[^\/]\/\/[^\/].*"108},109"afterText": {110"pattern": "^(?!\\s*$).+"111},112"action": {113"indent": "none",114"appendText": "// "115}116},117// Add /// when pressing enter from anywhere inside a documentation comment.118// Documentation comments are not valid after non-whitespace.119{120"beforeText": {121"pattern": "^\\s*\/\/\/"122},123"action": {124"indent": "none",125"appendText": "/// "126}127},128]129}130131132