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

Create remote-ssh-stable-commands.md #7725

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
35 changes: 35 additions & 0 deletions emote-ssh-stable-commands.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
The Remote-SSH extension is a private repo that other extensions rely on for varying functionality. Below is a list of commands that we will do our best to keep stable like an API. These commands, now published externally here, will be maintained and changes will not be made without sufficient warning to allow for other dependent extensions to function correctly.
eleanorjboyd marked this conversation as resolved.
Show resolved Hide resolved



## Remote-SSH Stable Commands:
eleanorjboyd marked this conversation as resolved.
Show resolved Hide resolved

#### `opensshremotes.openEmptyWindow`
- parameters: `(args?: IOpenWindowsArgs)` _(see IOpenWindowsArgs definition below)_
- this command is called with the command palette command `Connect to Host..`
eleanorjboyd marked this conversation as resolved.
Show resolved Hide resolved

#### `opensshremotes.openEmptyWindowInCurrentWindow`
- parameters: `(args?: IOpenWindowsArgs)` _(see IOpenWindowsArgs definition below)_
eleanorjboyd marked this conversation as resolved.
Show resolved Hide resolved
- this command is called with the command palette command "Connect Current Window to Host..."


#### `opensshremotes.cleanRemoteServer`
- parameters: none
- this command is called with the command palette command "Kill VS Code Server on Host..."

#### `opensshremotes.cleanDevBox`
eleanorjboyd marked this conversation as resolved.
Show resolved Hide resolved
- parameters: none
- this command is called with the command palette command "Uninstall VS Code Server from Host..."

## Interface Definitions

##### IOpenWindowsArgs Definition
```
interface IOpenWindowsArgs {
host: string;
userName?: string;
port?: number;
}
```