Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code: disable linking between open files and explorer

People also ask

How do you turn off reference in VS Code?

Just open Visual Studio. Go in Tools > Environment > Text editor > Codelens. and then disable them .

How do I change file associations in VS Code?

Open your settings (CMD + , on a Mac or CTRL + , on Windows) and enter a file association. We can do this with the settings UI or the settings JSON, both are options to edit your settings. Then enter a file association for the .


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