Pair With Code
Real-Time Collaborative Coding Inside Visual Studio Code
Pair With Code is a collaborative development extension that brings developers together inside Visual Studio Code. It enables multiple developers to work together through shared coding sessions, real-time presence, instant messaging, WebRTC-powered communication, inline code reviews, and shared development tools.
Whether you're pair programming, debugging, reviewing code, or building software as a team, Pair With Code provides an integrated environment for collaborative development without constantly switching between applications.
Features
1. Real-Time Collaboration
- Live Presence: See who is currently participating in a collaboration session.
- Cursor Tracking: View collaborators' cursor positions and editing activity.
- File Following: Automatically follow collaborators as they switch between files.
- Shared Sessions: Create collaboration rooms and invite other developers.
- Automatic Reconnection: Restore connections when network interruptions occur.
2. Audio, Video & Screen Sharing
Communicate directly with collaborators using WebRTC-powered communication.
- Real-time audio and video calls.
- Screen and individual window sharing.
- Browser-based media capture.
- STUN/TURN connectivity support for challenging network environments.
3. Integrated Messaging
Communicate without leaving your development environment.
- Instant messaging between collaborators.
- Real-time typing indicators.
- Persistent session message history.
- Emoji reactions.
- Integrated chat panel.
4. Inline Code Review
Review code and discuss potential improvements directly inside the editor.
- Add comments to specific code locations.
- Organize discussions into threads.
- Assign severity levels:
Error, Warning, and Info.
- Track resolved and unresolved comments.
- Discuss implementation issues within the collaboration session.
Additional tools designed to improve collaborative development.
- Session Analytics: Monitor collaboration activity and session metrics.
- Session Recording: Record collaboration sessions.
- Shared Terminal: Access shared terminal functionality.
- Collaborator Management: View active participants and session membership.
6. Authentication & Session Security
- GitHub OAuth 2.0 authentication.
- GitLab OAuth 2.0 authentication.
- Unique UUID-based room identification.
- Session isolation.
- Encrypted communication.
Security and access-control guarantees depend on the deployed implementation and configuration.
Getting Started
Installation
- Open Visual Studio Code.
- Navigate to the Extensions Marketplace.
- Search for Pair With Code.
- Install the extension.
Authentication
- Open the Command Palette:
- Windows/Linux:
Ctrl + Shift + P
- macOS:
Cmd + Shift + P
- Run
Pair With Code: Sign in with GitHub or Pair With Code: Sign in with GitLab.
- Complete the authentication process.
Creating a Collaboration Session
- Open the Command Palette.
- Run
Pair With Code: Menu.
- Select the option to create a collaboration room.
- Copy the generated Room ID.
- Share the Room ID with your collaborators.
Joining a Session
- Open Visual Studio Code.
- Run
Pair With Code: Join Room.
- Enter the Room ID provided by the session host.
- Join the collaboration session.
Once connected, participants can use the available collaboration features.
Available Commands
| Command |
Description |
Pair With Code: Menu |
Open the main collaboration menu |
Pair With Code: Join Room |
Join an existing collaboration room |
Pair With Code: Copy Room ID |
Copy the active Room ID |
Pair With Code: Open Chat |
Open the session messaging panel |
Pair With Code: Show Collaborators |
View active participants |
Pair With Code: Video Call |
Start an audio/video call or screen sharing |
Pair With Code: Code Review |
Open the inline code review panel |
Pair With Code: Session Analytics |
View session activity metrics |
Pair With Code: Session Recording |
Manage session recording |
Pair With Code: Shared Terminal |
Open shared terminal functionality |
Pair With Code: Settings |
Configure extension preferences |
Commands can be accessed through the Visual Studio Code Command Palette.
Configuration
Pair With Code provides configurable settings for managing collaboration sessions and personal preferences.
| Setting |
Default |
Description |
pairWithCode.serverUrl |
Deployment-specific |
URL of the collaboration backend |
pairWithCode.userName |
"" |
Custom display name |
pairWithCode.autoJoin |
false |
Automatically rejoin the previous room |
pairWithCode.followMode |
true |
Follow collaborators' active files |
pairWithCode.autoReconnect |
true |
Automatically reconnect after interruptions |
pairWithCode.theme |
"auto" |
Panel theme: light, dark, or auto |
pairWithCode.showActivityIndicators |
true |
Display activity and typing indicators |
pairWithCode.maxChatHistory |
500 |
Maximum retained chat messages per session |
Security
Pair With Code is designed around authenticated collaboration and isolated development sessions.
Its security considerations include:
- OAuth-based user authentication.
- Unique room identifiers.
- Encrypted communication.
- Session-level access management.
- Secure connection handling.
Security notice: Room identifiers should not be treated as authentication credentials. Production deployments should enforce participant authorization, secure token storage, transport encryption, and appropriate access controls for shared terminal and recording functionality.
Contributing
Contributions are welcome from developers interested in improving collaborative development tools.
Potential areas of contribution include:
- Real-time collaboration.
- WebRTC connectivity.
- User experience and interface design.
- Security improvements.
- Performance optimization.
- Testing and documentation.
Before submitting significant changes, consider opening an issue to discuss the proposed improvement.
License
This project is licensed under the MIT License.
This project is licensed under the MIT License. See the LICENSE file included with the extension for details.
Pair With Code — Code Together. Build Together.