Vscode: [Question] File explorer jumps when closing files

Created on 24 Nov 2016  路  3Comments  路  Source: microsoft/vscode

This is very annoying UX.

If you are editing a file and then you close it, then the editor focus on another file (obviously).

But when this happens, the File Explorer jumps to that file!

This is very very disturbing because if I want to edit 2 files from the top of my File Explorer, this happens:

  1. Scroll tree view to top (to find my first file)
  2. Edit it, close file.
  3. Editor moves my tree view again to the bottom! <--- This shouldn't happen!
  4. Scroll AGAIN tree view to top (to find my second file) <--- This shouldn't happen!
  5. Edit it, close file.

It is possible to change this? how?

Most helpful comment

@felixsanz try "explorer.autoReveal": false

All 3 comments

@felixsanz try "explorer.autoReveal": false

So, if i turn off autoReveal, what hotkey to scroll to file

The command would be workbench.files.action.showActiveFileInExplorer

Was this page helpful?
0 / 5 - 0 ratings