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

Vscode reporter does not handle vscode remote via ssh #45

Open
alexbozhenko opened this issue Aug 23, 2023 · 0 comments
Open

Vscode reporter does not handle vscode remote via ssh #45

alexbozhenko opened this issue Aug 23, 2023 · 0 comments

Comments

@alexbozhenko
Copy link

Hi.

This code:

case goosWindows:
if username, ok := os.LookupEnv("USERNAME"); ok {
programName = fmt.Sprintf("C:/Users/%s/AppData/Local/Programs/Microsoft VS Code/Code.exe", username)
}
case goosDarwin:
programName = "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code"
case goosLinux:
programName = "/usr/bin/code"
}

Does not work for the case when
https://code.visualstudio.com/docs/remote/ssh
is used.

It is possible to run remote code instance with something like:
https://stackoverflow.com/questions/62201080/is-it-possible-to-use-the-code-command-in-sshed-terminal-to-open-vs-code-on-l

But that requires investigation...

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

No branches or pull requests

1 participant