mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
launch.json - also gray out 'configurations'
This commit is contained in:
parent
aadb061e3e
commit
c9155f8da7
|
@ -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)));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue