提交 42f38e61 编写于 作者: I isidor

fixes #20078

上级 ed161170
......@@ -186,6 +186,10 @@ export class DebugHoverWidget implements IContentWidget {
}
private doFindExpression(container: IExpressionContainer, namesToFind: string[]): TPromise<IExpression> {
if (!container) {
return TPromise.as(null);
}
return container.getChildren().then(children => {
// look for our variable in the list. First find the parents of the hovered variable if there are any.
const filtered = children.filter(v => namesToFind[0] === v.name);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册