Local Share - VS Code Extension
Share your code in local network like Live Share.
Features
- Host Server: Start a server that shares your workspace
- Connect to Server: Connect to a server in your local network
- Real-time Collaboration: See updates and cursor positions in real-time
- Multi-client Support: Multiple clients can connect simultaneously
Commands
Local Share: Start Server (Host) - Start a server to share your workspace
Local Share: Stop Server - Stop the server
Local Share: Connect to Server - Connect to a server in local network
Local Share: Disconnect - Disconnect from a server
How to Use
Host Setup
- Open your project in VS Code
- Run command
Local Share: Start Server (Host)
- Choose a port (default: 3000)
- Note your IP address displayed in the notification
Client Setup
- Open VS Code (any project or empty)
- Run command
Local Share: Connect to Server
- Enter the host's IP address
- Enter the port number
- You'll be connected and see the hosted code
Requirements
- VS Code 1.74.0 or higher
- Both machines must be on the same local network
- Node.js (for development)
Installation
From VS Code Marketplace
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Local Share"
- Click Install
From Source
npm install
npm run compile
| |