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

Commons

Shreyash Gupta

|
1 install
| (0) | Free
Share code, notes, links and files with your Commons spaces — live, right from your editor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Commons for VS Code

Share code, notes, links and files with your team's Commons spaces without leaving the editor. Works in VS Code and in editors built on it: Antigravity, Cursor, Windsurf and VSCodium.

Features

  • Spaces sidebar: every space you've joined that hasn't expired, with unread counts, "view only" labels and time left. ★ marks your default space.
  • Rooms open as editor tabs: click a space to open the full live room in a tab, styled with your theme. You can paste, react, reply, pin and resize cards there.
  • Insert at cursor / Open in editor: on any code or note card, put a teammate's snippet straight into your file, or open it in a new editor with the right language.
  • Send selection: right-click in the editor → Send Selection to Commons, or press Ctrl+Alt+Shift+C (Cmd+Alt+Shift+C on macOS). The language and the file's relative path and line numbers are included.
  • Send terminal selection: right-click in the terminal to share an error or log.
  • Send file: right-click a file in the Explorer → Send File to Commons (up to 10 MB).
  • Status bar: ◉ Hackathon team · 3 here shows your default space and who's in it. Click it to switch.
  • Unread badge: a count on the Commons icon when teammates drop something new. No pop-ups.

Getting started

  1. Click the Commons icon in the activity bar.
  2. Create a Space, or Join a Space by pasting a link like https://commons.sophon.in/s/brave-otter-4821 (or just the code).
  3. Select some code → right-click → Send Selection to Commons.

Settings

Setting Default
commons.serverUrl https://commons.sophon.in The Commons server to use
commons.includeSourcePath true Include the file path and line numbers when sending code

Privacy

  • Access tokens are stored in VS Code's encrypted SecretStorage.
  • The extension only reads code, terminal text or files when you explicitly send them.
  • File paths are sent relative to the workspace. Files outside the workspace send only their name.

Development

cd extension
npm install
npm run build:webview      # builds the room UI from ../src into media/webview
npm run build              # bundles the extension into dist/
npm run package            # → commons-vscode-<version>.vsix
COMMONS_TEST_SERVER=http://localhost:3001 node test/runTest.mjs   # integration tests in a real VS Code

Install the .vsix from the Extensions view: ⋯ → Install from VSIX…

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft