Home > Back-end >  Visual Studio Code how to open the same file in multiple tabs?
Visual Studio Code how to open the same file in multiple tabs?

Time:09-02

Sometimes i want to open the same file multiple tabs, each tab focusing on a different line/method, in Eclipse this is easy, but i haven't found a way to do it in VSCode? screenshot from Eclipse doing it: enter image description here

Split view isn't enough, right now I'm on a 14" laptop with no extra display available, the laptop screen is too small to comfortably use split view.

CodePudding user response:

I don't know if there is another solution, but this should work: Right click on the tab and then select Split [Up|Down|Left|Right]:

Split edit window in VS Code

CodePudding user response:

You can do this by Split Editor feature in VS Code.

Check the following image for details.

enter image description here

  • Related