Skip to content

Commit efe9e60

Browse files
Merge pull request #322 from Vasek-gh/select-active-documnet-set-focus
Select active document now set focus to selecting item
2 parents fd57814 + 84613de commit efe9e60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SolutionExplorerProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ export class SolutionExplorerProvider extends vscode.Disposable implements vscod
157157
}
158158

159159
private selectTreeItem(element: sln.TreeItem): void {
160-
if (this.treeView && this.treeView.visible) {
161-
this.treeView.reveal(element, { select: true, focus: false });
160+
if (this.treeView) {
161+
this.treeView.reveal(element, { select: true, focus: true });
162162
}
163163
}
164164

0 commit comments

Comments
 (0)