microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.48k stars 28.65k forks source link

autoReveal focus on acitvate #224071

Open Farnsi opened 1 month ago

Farnsi commented 1 month ago

Add a fourth option for autoReveal handling

We have

New option:

Example:

You want always jump to a file when you change the tab or select a file (click) behavior like "explorer.autoReveal": "true".

You have a huge file list and open a file far away from the current file, but you click the wrong file. When you now close the file, it jumps back to the previous file, you have to scroll down again. Really annoying.

You have to teach yourself to first open the right file and then close the wrong file, but this needs more clicks, even more annoying.

The solution would be, if you click the wrong file and directly afterwards (ctrl+w) close it, the explorer stay where it is until you set the cursor back into editor (or move the cursor or type something, when the previous file has focus).

VSCodeTriageBot commented 1 month ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!