Repository navigation
Description
Feature Request
Add a --enable-remote-storage CLI option to persist VS Code Web browser state (settings, UI state, layout, etc.) on the server instead of browser IndexedDB.
Problem
When using vscode-server-web, all user state (settings, open editors, UI layout, extension state) is stored in the browser's IndexedDB. This causes several issues:
- No state portability - Switching browsers/devices requires reconfiguring everything
- State loss - Clearing browser data or using private browsing loses all state
- No seeding - Cannot pre-configure initial state like in desktop VS Code
- Volatile storage - Some devices (tablets, thin clients) have non-persistent storage
This was previously requested in #210775 but closed due to insufficient upvotes. However, the need remains strong in the community (see coder/code-server#4212 with many participants).
Solution
Add an opt-in --enable-remote-storage flag that:
- Persists browser storage on the server using SQLite (same as Electron desktop)
- Enables state portability across browsers and devices
- Allows administrators to seed initial state
- Is disabled by default to preserve current behavior
API
CLI:
./bin/code-server --enable-remote-storageProgrammatic (via IWorkbenchConstructionOptions):
remoteStorageEnabled: trueImplementation
I have a working implementation ready as a PR:
- Adds ServerStorageMainService for server-side SQLite storage
- Adds ServerStorageDatabaseChannel for storage IPC
- Adds RemoteBrowserStorageService for the web client
- Moves shared storage classes to vs/platform/storage/node
- Adds @vscode/sqlite3 dependency to remote package
The implementation follows the same pattern as NativeWorkbenchStorageService used by Electron, adapted for the server environment.
Use Cases
Multi-device workflows - Continue work seamlessly across laptop, desktop, tablet
Shared development environments - Pre-configured dev containers with consistent settings
Education/labs - Administrators can seed settings for students
Thin clients - Devices with volatile/read-only storage can maintain state
AI coding assistants - Extensions like Cline/Kilo maintain conversation state across devices
References
Previous request: #210775
code-server tracking issue: coder/code-server#4212
Activity
vs-code-engineering commentedon Feb 2, 2026
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
vs-code-engineering commentedon Feb 14, 2026
🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!