Skip explorer reveal on visible items#90626
Skip explorer reveal on visible items#90626isidorn merged 3 commits intomicrosoft:masterfrom baileyherbert:82828-listview-reveal
Conversation
|
I think changing this behavior makes sense overall. However I do not like the approach that there are a lot of changes in the tree land. |
joaomoreno
left a comment
There was a problem hiding this comment.
This already exists in the list/tree:
vscode/src/vs/base/browser/ui/list/listWidget.ts
Lines 1576 to 1581 in a7ed9c9
So we don't need the list/tree changes.
|
Thanks guys. Let's try again. 😊 |
|
Works great. Love it. |
Fixes #82828.
Before this change, clicking on an editor tab while
explorer.autoRevealistruewould always scroll the explorer so that the corresponding file was vertically centered.After this change, the explorer isn't scrolled if the corresponding file is already visible in the file tree.