diff --git a/language-configuration.json b/language-configuration.json index e12093a..f338d2b 100644 --- a/language-configuration.json +++ b/language-configuration.json @@ -1,81 +1,58 @@ { - "capabilities": { - "documentOnTypeFormattingProvider": { - "firstTriggerCharacter": "}", - "moreTriggerCharacter": [ - ";", - "," - ] - }, - "documentRangeFormattingProvider": "true", - "renameProvider": "true", - "documentHighlightProvider": "true", - "referencesProvider": "true" + "capabilities": { + "documentOnTypeFormattingProvider": { + "firstTriggerCharacter": "}", + "moreTriggerCharacter": [";", ","] }, - "folding": { - "markers": { - "start": "[{\\[(]\\s*$", - "end": "^\\s*[}\\])]" - } - }, - "comments": { - // symbol used for single line comment. Remove this entry if your language does not support line comments - "lineComment": "#" + "documentRangeFormattingProvider": "true", + "renameProvider": "true", + "documentHighlightProvider": "true", + "referencesProvider": "true" + }, + "folding": { + "markers": { + "start": "[{\\[(]\\s*$", + "end": "^\\s*[}\\])]" + } + }, + "comments": { + // symbol used for single line comment. Remove this entry if your language does not support line comments + "lineComment": "#" + }, + // symbols used as brackets + "brackets": [ + ["{", "}"], + ["[", "]"], + ["(", ")"] + ], + // symbols that are auto closed when typing + "autoClosingPairs": [ + { + "open": "{", + "close": "}" }, - // symbols used as brackets - "brackets": [ - [ - "{", - "}" - ], - [ - "[", - "]" - ], - [ - "(", - ")" - ] - ], - // symbols that are auto closed when typing - "autoClosingPairs": [ - { - "open": "{", - "close": "}" - }, - { - "open": "[", - "close": "]" - }, - { - "open": "(", - "close": ")" - }, - { - "open": "\"", - "close": "\"", - "notIn": [ - "string" - ] - } - ], - // symbols that that can be used to surround a selection - "surroundingPairs": [ - [ - "{", - "}" - ], - [ - "[", - "]" - ], - [ - "(", - ")" - ], - [ - "\"", - "\"" - ] - ] -} \ No newline at end of file + { + "open": "[", + "close": "]" + }, + { + "open": "(", + "close": ")" + }, + { + "open": "\"", + "close": "\"", + "notIn": ["string"] + } + ], + + "autoCloseBefore": ";=}]) \n\t", + + // symbols that that can be used to surround a selection + "surroundingPairs": [ + ["{", "}"], + ["[", "]"], + ["(", ")"], + ["\"", "\""] + ] +} diff --git a/package.json b/package.json index 1647490..e0ad0fa 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "F5 Networks iRules", "description": "F5 Networks iRules Extension. Supports all BIG-IP versions up to 17.0", "publisher": "bitwisecook", - "version": "1.6.19", + "version": "1.6.20", "keywords": [ "f5", "f5networks",