E
E
EYPPNM2019-04-12 17:45:01
Visual Studio Code
EYPPNM, 2019-04-12 17:45:01

What is "Open Workspace..." in MS VSCode?

5cb0a4692c967447091097.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shcherbakov, 2019-05-12
@DimNS

So far, in VS Code, you can open only one workspace (workspace) in which (until recently) you could open only one directory with the project
Now it has become possible to open several directories at once
For example, I write my own template for projects, it has api server, there is a client, they both also have kernels, and there is also documentation for all this, as a result, I already have 5 repositories
All this I need to open and work at the same time, this is what multi-root folders are made for
As a result, I can open immediately all 5 repositories and work with them, make commits and push them to GIT as if they were all open separately
Otherwise I would have to open several vs code windows and switch between them
PS Now many are waiting for when they will make it possible to open several workspaces (workspaces) so that each directory can be opened in its own space, this is necessary so that the code does not conflict with each other
. For example, again, let's take my project (it is written in php), there is a core in which there is different code and libraries, this core is connected to the api-server as a library, as a result, in one space, vs code sees several identical files at once, the same files are located in two directories (in the core and in the api-server), so that it is tough split and need multiple workspaces

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question