Skip to content

Vscode reporter does not handle vscode remote via ssh #45

Open
@alexbozhenko

Description

@alexbozhenko

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions