diff --git a/src/vs/workbench/parts/debug/browser/debugViewer.ts b/src/vs/workbench/parts/debug/browser/debugViewer.ts index db7906f647a4e7165268c4f47fc49d90c0ef02c2..4f22fdf56f4eb2533ba200c859862b117c6f3cda 100644 --- a/src/vs/workbench/parts/debug/browser/debugViewer.ts +++ b/src/vs/workbench/parts/debug/browser/debugViewer.ts @@ -63,7 +63,7 @@ export function renderExpressionValue(expressionOrValue: debug.IExpression|strin export function renderVariable(tree: tree.ITree, variable: model.Variable, data: IVariableTemplateData, debugInactive: boolean, showChanged: boolean): void { if (variable.available) { - data.name.textContent = `${variable.name}:`; + data.name.textContent = variable.name + ':'; } if (variable.value) { @@ -106,6 +106,8 @@ function renderRenameBox(debugService: debug.IDebugService, contextViewService: tree.clearHighlight(); tree.DOMFocus(); + tree.setFocus(element); + // need to remove the input box since this template will be reused. container.removeChild(inputBoxContainer); lifecycle.disposeAll(toDispose);