# pw vscode

> Source: https://parallelworks.com/docs/cli/pw/vscode

## pw vscode

Open VS Code connected to a remote resource

### Synopsis

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]
```

### Examples

```
  # 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
```

### Options

```
  -h, --help   help for vscode
```

### Options inherited from parent commands

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

### SEE ALSO

* [pw](/docs/cli/pw)	 - The Parallel Works ACTIVATE CLI
