launch.json - also gray out 'configurations'

This commit is contained in:
isidor 2016-10-17 15:16:40 +02:00
parent aadb061e3e
commit c9155f8da7

View file

@ -53,7 +53,7 @@ function updateLaunchJsonDecorations(editor: vscode.TextEditor) {
let addPropertyAndValue = false;
visit(editor.document.getText(), {
onObjectProperty: (property, offset, length) => {
addPropertyAndValue = property === 'version' || property === 'type' || property === 'request';
addPropertyAndValue = property === 'version' || property === 'type' || property === 'request' || property === 'configurations';
if (addPropertyAndValue) {
ranges.push(new vscode.Range(editor.document.positionAt(offset), editor.document.positionAt(offset + length)));
}