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
Add VSCode workspace for easier repo navigation #35
Conversation
Just tested your PR. When it started, it gave me a notification to Open the Workspace. So if we add that line to the gitpod.yml file, you won't have to click that?
Do you mean there's an issue if people have a running workspace and then pull these latest changes? |
Correct, adding it to gitpod.yml will open the specified workspace instead of opening the repository local folder as a workspace. for now you can click open the workspace on the file or on the notification to see the new unified workspace.
People might be confused about "losing" the workspaces due to this drastic unexpected change. |
i realized after the fact that the extensions.json and settings.json from the .vscode folder sort of get moved inside the .code-workspace file and users that never opened the folder workspace might not have the suggested extensions |
Can you clarify this? |
oh, dealing with extensions is a separate issue, just saying in relation to this that we could put recommended extensions in the gitpod.yml instead of defining it through vscode facilities such as .vscode/extensions.json and workspace extensions key. |
extensions.json contain a extensions key and settings.json contain a settings key, workspace extensions and settings respectively. |
solves the need of opening a separate folder/workspace tab to work on cloned repositories (eg lila)
this can be deployed in .gitpod.yml by appending
workspaceLocation: lila-docker/lichess.code-workspace # Relative to /workspace dir
intentionally left this out because this change would cause existing users to land at a blank canvas because of the new workspace instead of the used lila-docker folder workspace or other repositories they opened
the quick solution is tell users to run
open /workspace/lila-docker
or the relevant repository egopen /workspace/repos/lila
in a terminal and finish working on there