code command to open files in new tab, NOT new window

Andrei Barbu 2,596 Reputation points Microsoft Employee
2023-05-21T06:19:58.6866667+00:00

Hello,

When I run code command, for example "code test.yaml", it opens "test.yaml" in a new window. See below

User's image

I want to open it in a new tab. (in the example above, to open it next to "commands.txt").

I am looking for some guidance on how to have the files specified via "code" command opened in a new tab, not a new window.

This is how I have my related settings:

User's image

Thank you in advance for your help!

Developer technologies Visual Studio Other
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
    2023-05-22T01:44:34.6+00:00

    Hello @Andrei Barbu,

    Thank you for taking time to post this issue in Microsoft Q&A forum.

    VS Code(different from Visual Studio) is currently not supported in the Microsoft Q&A forums, the supported products are listed over here: https://learn.microsoft.com/en-us/answers/.

    For the related questions(technical support) about Visual Studio Code, you can post here: Stack Overflow tagged Visual Studio Code or here: Github - Visual Studio Code.

    Thanks for your understanding, have a great day.

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.