简体   繁体   中英

How to configure VS Code to only highlight a file in explorer but do not scroll to it(like autoReveal does)?

Atom 具有我想要的确切行为,它只是突出显示一个没有扩展文件夹和没有滚动的文件。

See https://github.com/microsoft/vscode/issues/82828

As of v1.43 vscode will only scroll to a file if it was not previously visible - so maybe that is a partial solution. It will still open folders and scroll if it is off-screen for the explorer. But at least it is of some improvement hopefully for you.

also see this setting:

explorer.autoReveal which will turn off the autoReveal feature completely.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM