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

Default to running locally with remote development #317

Closed
wants to merge 1 commit into from
Closed

Default to running locally with remote development #317

wants to merge 1 commit into from

Conversation

Gama11
Copy link
Contributor

@Gama11 Gama11 commented Jan 14, 2020

closes #284

When you have a remote workspace open, you will suddenly notice that the project manager commands are no longer working. This is because VSCode defaults to running extensions on the remote / as a "workspace" extension: https://code.visualstudio.com/docs/remote/faq#_can-an-extension-access-local-resources-or-apis-when-a-user-is-connected-remotely

This fixes this by changing the default to "ui", so Project Manager runs locally. I'm not sure it makes much sense to run Project Manager remotely, but having it in the "extensionKind" array still allows for this.

@Gama11
Copy link
Contributor Author

Gama11 commented Jan 14, 2020

Note: this only makes it so you can still use Project Manager to switch to another workspace while you're inside of a remote workspace so you're not "stranded" there. It still doesn't know anything about remote workspaces: #318

@alefragnani alefragnani self-assigned this Jan 21, 2020
@alefragnani alefragnani added enhancement remote Remote Development labels Jan 21, 2020
@alefragnani
Copy link
Owner

Because the extension needs to access local resources (projects.json file), I think using only ui is a better approach (for now).

As I commented here I found a secure way to handle the remote environment, so I'll continue from there.

Thank you for your continuous collaboration 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement remote Remote Development
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Remote Container
2 participants