New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use workspace file when opening repository in VS Code #7007
Comments
@SimonKibsgaard thanks for the feedback! Do you have any links to resources explaining this file in more detail? |
@shiftkey yes, sorry I forgot that. I believe this is the best source: https://code.visualstudio.com/docs/editor/multi-root-workspaces#_workspace-file To add some more detail, when I launch the repo from the current button in GitHub Desktop, the repo folder opens and VS Code prompts me to open the workspace instead (because it detects the .code file). If GitHub Desktop launched the .code file instead of the root folder it would work as I hope for. Br, Simon |
@SimonKibsgaard thanks for the extra information! For the moment I'm going to mark this as The current desktop/app/src/lib/editors/launch.ts Lines 5 to 14 in e4a7e23
|
I think that this issue needs to be considered about a pattern that I have an one question. |
Not currently |
Hi @shiftkey I was exploring code for this feature and able to get this working if we use file with
Current problem, I have is
|
How's this come along? |
|
For those desperately hoping for this to be implemented, I found myself an alternative solution, using the wottpal/vscode-auto-open-workspace extension. PS: There is also haifengkao/AlwaysOpenWorkspace which I haven't tested… |
Problem
When I open a repo in Github Desktop the app suggests to open the repo in Visual Studio Code. That's great, but instead of opening the root folder I would like it to open .code (workspace) file when it is available in the root. Either per default or via a setting.
Thanks for a great product!
The text was updated successfully, but these errors were encountered: