If you are playing around multiple files in Visual Studio Code, and wondering how to navigate back to the previous files, there is a simple way. Visual Studio Code allows us to check the history of navigated files in Navigation History lists. You can open this window from “Goto–> Navigation History” or by just simply pressing Ctrl + Tab. This will bring list of all previously navigated files with in Visual Studio Code.
Now, you can scroll through the list and select a specific file.
Quickly Navigate Between Files :
You can easily navigate between the history files by using
- Alt + Left Arrow – Navigate To Previous File
- Alt + Right Arrow – Navigate To Next File
Navigation within Multiple Windows :
This navigation would also work fine when you have multiple windows open. You would be able to see the history of opened files on the respective tabs.