Goto Previous File in VSCode

Updated November 6, 2020・1 minute read Post By tnylea
Goto Previous File in VSCode

I love using the command palette in VS Code to jump to a specific file. You can open the palette with the keyboard shortcut Cmd+P and then start typing for the name of the file you are looking for.

cmdp.gif

This is great! Unfortunately, when switching between two files you may get lost in a sea of tabs.

tabs.png

Instead, I just learned a quick way to jump back and forth between files by using the following keyboard shortcut Cmd+P P

cmdpp.gif

Now you can jump back and forth between two files faster than the speed of light ⚡.

Quick note: I actually disabled my tabs in my editor, it just makes it so much cleaner.

Still have a question?

Get help or discuss anything development/design related.

Start a discussion