Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.



## Remote-SSH Stable Commands:

#### `opensshremotes.openEmptyWindow`
- parameters: `(args?: IOpenWindowsArgs)` _(see IOpenWindowsArgs definition below)_
- this command is called with the command palette command `Connect to Host..`

#### `opensshremotes.openEmptyWindowInCurrentWindow`
- parameters: `(args?: IOpenWindowsArgs)` _(see IOpenWindowsArgs definition below)_
- 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`
- 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;
}
```