Skip to content
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 VS Code action to reload the project in the IDE with a new project in a different directory #350

Open
ciberkleid opened this issue Apr 24, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ciberkleid
Copy link

Is your feature request related to a problem? Please describe.

For workshops with multiple code projects, right now you have to put the code under a parent dir and open the parent dir in VS Code.

Describe the solution you'd like

It would be great to have an option where VS Code could be made to load again using a new directory as project root

Describe alternatives you've considered

No response

Additional information

No response

@ciberkleid ciberkleid added the enhancement New feature or request label Apr 24, 2024
@GrahamDumpleton
Copy link
Contributor

From memory there is a VS Code Editor command one can use with editor:execute-command to open a new workspace. The problem is that it will create a complete new browser window/tab with editor on the new workspace. I can't remember if there was a terminal command which allowed you to replace the current workspace. There may though be a way to add a new directory to the current workspace. Will need to see if I can find where information about these internal commands are.

@GrahamDumpleton
Copy link
Contributor

To see what commands might be used, search for workspace in Keyboard Shortcuts window on VS Code Editor. Issue will be working how inputs are provided. Many commands will put of prompt window for input rather than taking as param.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants