Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Remote CommonsNew to Visual Studio Code? Get it now.
Remote Commons

Remote Commons

JimmyZJX

|
107 installs
| (1) | Free
Common workspace APIs provided for UI extensions
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Remote Commons Extension

Provides useful workspace APIs for UI extensions to work smoothly while being able to interact with remote machine.

It's currently required by the Leaderkey extension.

This extension is under active development. We'll bump major version when breaking changes are made, and minor versions when new APIs are introduced.

APIs

We plan to provide sample typescript code to interact with this extension, but for now you can refer to the Leaderkey implementation (https://github.com/JimmyZJX/leaderkey/blob/main/src/common/remote.ts).

Currently, we support the following APIs

Process

  • run process and get stderr + stdout + exit status
  • run process and pipe stdout/stderr line by line

Filesystem

  • Read dir
  • Create file
  • Open remote file in VSCode

Environment/VSCode

  • Get remote platform
  • Get a list of workspace extensions
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft