Collaborative Code Editor — Notes
Functional
- Live share IDE session: host + guests edit / debug.
- Shared terminal, debugger, ports.
- Language server intelligence shared.
- Read-only / write modes.
Non-functional
- Sub-200 ms edit echo.
- Survive network glitches without losing edits.
- Host security: limit visible FS.
Trade-offs
- P2P over relay: P2P best latency but NAT issues.
- OT vs CRDT for text: same trade-offs as Docs.
- Host as authority simplifies file system semantics.
Refs
- VS Code Live Share docs + RFC.
- "How Live Share Works" Microsoft devblogs.
- Yjs collaborative editing demos.