L13 / vscode-projects

Manage your workspaces and projects in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=L13RARY.l13-projects
Other
18 stars 1 forks source link

Sync projects #43

Open Small-Systems opened 2 years ago

Small-Systems commented 2 years ago

Hi,

Is there any way to have my projects synced between devices? I use the extension without creating .code-workspace files, and I can't figure out where the extension stores the structure for projects. In general I struggle with the vscode concept of workspaces, even having read the docs several times. As a side note, could you clarify what a "project" is within your extension, is it the same is opening a folder in vscode?

Thanks

L13 commented 2 years ago

Hi,

Is there any way to have my projects synced between devices?

Right now there is no such feature.

I use the extension without creating .code-workspace files, and I can't figure out where the extension stores the structure for projects.

The structure is stored inside the extension state which is provided by VS Code.

In general I struggle with the vscode concept of workspaces, even having read the docs several times. As a side note, could you clarify what a "project" is within your extension, is it the same is opening a folder in vscode?

In VS Code a folder is a workspace. Multiple folders can be selected/added as root folders and saved as a .code-workspace file. My extension can save the paths for these kind of workspaces in a list. The extension supports picked workspaces (Add Project/Save Project) or scanned workspaces (looks up for .git, .vscode, subfolder or .code-workspace) by multiple root folders. So the category "Projects" is a picked/saved workspace.