DEV Community

Paul
Paul

Posted on

3

How to keep those darn tabs open

I know you have done it. You're spelunking through the code trying to find that one function with that one bug and you find it! VSCode shows you the file of interest in preview mode.

Of course, it's so simple and if I just check to make sure it works with what I'm working on. .

Then... gone. That file you spent so long trying to find was opened in preview mode and now you have to search again to find it. I know it's happened to you. Make it stop by setting both of these to false (or unchecking)

  1. workbench.editor.enablePreviewFromQuickOpen
  2. workbench.editor.enablePreview

Search and keep your context. Live long and prosper.

Top comments (0)

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more