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

[FEATURE] - Support remote location in automatic detection #424

Closed
vladmandic opened this issue Sep 12, 2020 · 3 comments
Closed

[FEATURE] - Support remote location in automatic detection #424

vladmandic opened this issue Sep 12, 2020 · 3 comments
Labels
depends on Depends on issues from VS Code duplicate enhancement remote Remote Development

Comments

@vladmandic
Copy link

Project manager works with remote projects just fine when manually added, but cannot automatically detect them when adding scan location (either WSL or SSH):

This does nothing:

    "projectManager.git.baseFolders": [
        "vscode-remote://ssh-remote+wyse/home/vlado/dev",
        "vscode-remote://wsl+Ubuntu/home/vlado/dev"
    ],

But manually adding projects works fine:

[
	{
		"name": "Project: PiProxy",
		"rootPath": "vscode-remote://ssh-remote+wyse/home/vlado/dev/piproxy",
		"paths": [],
		"group": "",
		"enabled": true
	}
]
@alefragnani
Copy link
Owner

Hi @vladmandic ,

This has been requested a few weeks ago in #409, but as you can see, it was closed basically because of VS Code limitations. When connected to remotes, you are connected to some location instead of the computer itself, and the extension won't be able to detect Git repos.

You could take a look at the Remote Extensions repo/docs, and maybe the settings that I suggested on #409 could work for your scenario somehow. Unfortunately for the other user, it didn't.

Hope this helps

@alefragnani alefragnani added dependencies Pull requests that update a dependency file depends on Depends on issues from VS Code duplicate remote Remote Development and removed dependencies Pull requests that update a dependency file labels Sep 13, 2020
@vladmandic
Copy link
Author

Sorry for the duplicate, somehow I missed it.
In my case, dev system is static and it was easy to create script that adds all projects for me - seemed easier than tweaking VSCode.

Hope VSCode enables this workflow out-of-the-box in the future.

@alefragnani
Copy link
Owner

Sorry for the duplicate, somehow I missed it.

No problem 👍

Hope VSCode enables this workflow out-of-the-box in the future.

I think this could happen in the near future. VS Code team is eager to make Remote works the best way possible. I'm subscribed to that issue, and I suggest you to upvote/subscribe it too. When it is released, we will be notified.

Stay tuned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depends on Depends on issues from VS Code duplicate enhancement remote Remote Development
Projects
None yet
Development

No branches or pull requests

2 participants