F
F
fleshik2021-02-20 12:10:55
Visual Studio Code
fleshik, 2021-02-20 12:10:55

How to switch tabs without duplicating files in vs code?

In VISUAL STUDIO CODE, when splitting the screen into 2 parts (for example, 1-part html 2-part css) when you click on the css file in Explorer (it is open in the 2nd tab, we are currently working in the 1st tab with the html file ) for some reason it is duplicated and opens in the 1st tab, and now we have both html and css open in the 1st tab. How to make sure that the file is not duplicated in the tab, but simply our cursor moves to the 2nd tab, that is, to the file that we click on in Explorer? That is, it is necessary that when we click on a file in the explorer (sidebar), we move to the tab in which this file is open, as this happens in sublime text.
6030d1eadad38138584873.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lynn "Coffee Man", 2021-02-20
@fleshik

"workbench.editor.revealIfOpen": true
In English settings Workbench » Editor: RevealIfOpen.
I think the word reveal should be found.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question