DEV Community

Discussion on: How to Create Code Profiles in VSCode

Collapse
 
jsjoeio profile image
Joe Previte (he/him)

Yes, that's true. But based on my understanding, aren't workspaces tied to your repository in the .vscode/ directory?

So the advantage to this approach is you can launch any project by using this command, without having to manually change the workspace settings.

Collapse
 
ryansmith profile image
Ryan Smith

You can use "Save Workspace As" and save it anywhere you would like. Then open the .code-workspace file to open it from anywhere.

Thread Thread
 
jsjoeio profile image
Joe Previte (he/him)

Oh, now I see what you're saying. Save it somewhere and then with each project, you load the workspace. So it's never tied to a repository. Smart!