Open multiple Projects/Folders in Visual Studio Code

前端 未结 18 1471
误落风尘
误落风尘 2020-12-12 12:23

How do I open multiple projects/folders in a single Visual Studio Code instance, and open multiple files in single view? Does it has any option for future change request?

相关标签:
18条回答
  • 2020-12-12 12:45

    You can use this extension known as Project Manager

    In this the projects are saved in a file projects.json, just save the project and by pressing Shift + Alt + P you can see the list of all your saved projects, from there you can easily switch your projects.

    0 讨论(0)
  • 2020-12-12 12:46

    Not sure why the simplest solution is not mentioned. You can simply do File>New Window and open the other project in the new window.

    0 讨论(0)
  • 2020-12-12 12:46

    Or you can just select multiple folders and then click open.

    Go to File> Open Folder, then select multiple folders you want to open and click Select Folder

    0 讨论(0)
  • 2020-12-12 12:46

    you can create a workspace and put folders in that : File > save workspace as and drag and drop your folders in saved workspace

    0 讨论(0)
  • 2020-12-12 12:47

    Multiple Folders in VS

    Click ->File ->Add Folder to Workplace.

    Step 1.

    Choose which project to work ->Add(press)

    Step 2.

    0 讨论(0)
  • 2020-12-12 12:52

    What I suggest for now is to create symlinks in a folder, since VSCode isn't supporting that feature.

    First, make a folder called whatever you'd like it to be.

    $ mkdir random_project_folder
    $ cd random_project_folder
    $ ln -s /path/to/folder1/you/want/to/open folder1
    $ ln -s /path/to/folder2/you/want/to/open folder2
    $ ln -s /path/to/folder3/you/want/to/open folder3
    $ code .
    

    And you'll see your folders in the same VSCode window.

    0 讨论(0)
提交回复
热议问题