VS Code: disable linking between open files and explorer

Can I disable the function link with editor in visual code?

Yep, just add "explorer.autoReveal": false to your VS Code configuration.


  1. CTRL+SHIFT+P , and open User Settings

enter image description here

  1. Type Auto Reveal in the search box

  2. Uncheck the auto reveal property as highlighted below

enter image description here


Using VSCode in 2021

A solution similar as a Toggle Button is disabling the Auto Reveal, and choosing to Reveal when you desire, actually, it's better than a Toggle Button

Step 1:

Type: CTRL+, , and open User Settings
Or go to the menu File -> Preferences -> Settings

enter image description here

Type Auto Reveal in the search box

enter image description here

Step 2:

Click on file's tab with the right button and choose Reveal in Side Bar
And the file will be synchronized in the Explorer Side Bar

enter image description here

enter image description here



Adicional Step:

You can add a keyboard shortcut to use the keyboard to synchronize the editor window with file explorer:

enter image description here