提交 c335bde2 编写于 作者: I isidor

debug: if variable type is not provided show name on hover

fixes #19578
上级 a0353617
......@@ -93,7 +93,7 @@ export function renderExpressionValue(expressionOrValue: debug.IExpression | str
export function renderVariable(tree: ITree, variable: Variable, data: IVariableTemplateData, showChanged: boolean): void {
if (variable.available) {
data.name.textContent = replaceWhitespace(variable.name);
data.name.title = variable.type ? variable.type : '';
data.name.title = variable.type ? variable.type : variable.name;
}
if (variable.value) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册