mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-13 23:44:09 +01:00
debug: deemphasize internal variables too
This commit is contained in:
@@ -103,7 +103,8 @@ export function renderVariable(variable: Variable, data: IVariableTemplateData,
|
||||
text += ':';
|
||||
}
|
||||
data.label.set(text, highlights, variable.type ? variable.type : variable.name);
|
||||
data.name.classList.toggle('virtual', !!variable.presentationHint && variable.presentationHint.kind === 'virtual');
|
||||
data.name.classList.toggle('virtual', variable.presentationHint?.kind === 'virtual');
|
||||
data.name.classList.toggle('internal', variable.presentationHint?.visibility === 'internal');
|
||||
} else if (variable.value && typeof variable.name === 'string' && variable.name) {
|
||||
data.label.set(':');
|
||||
}
|
||||
|
||||
@@ -110,6 +110,10 @@
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.monaco-workbench .monaco-list-row .expression .name.internal {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.monaco-workbench .monaco-list-row .expression .unavailable {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user