Open VS Code connected to a remote resource
Open Visual Studio Code connected to a remote resource via SSH.
This configures VS Code's Remote-SSH extension to connect through the Parallel Works platform and launches VS Code.
Requires the code CLI on your PATH and the Remote-SSH extension installed in VS Code.
pw vscode <resource> [path] [flags]
# Open VS Code on a resource
pw vscode my-cluster
# Open VS Code in a specific directory
pw vscode my-cluster /home/user/project
# Open VS Code on another user's resource
pw vscode otheruser/their-cluster
-h, --help help for vscode
--context string The context to use. Overrides PW_CONTEXT environment variable and current context from config.
--platform-host string The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
-v, --verbose Enable verbose logging