-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Our extension fails to work on code-server (rust-lang/rust-analyzer#5892).
The problem is that we use globalState. We expect the contents of globalState to persist across the extension version updates. Even though this is not mentioned in vscode API docs, but original vscode does persist it, but code-server doesn't.
For example we check for new nightly extension release and record it in globalState like this.
But when we programmatically install the extension from VSIX and reload the window, code-server clears the persistent storage.
Meta
- Web Browser:
Google Chrome Version 84.0.4147.125 (Official Build) (64-bit) - Local OS:
Ubuntu 20.04.1 LTS - Remote OS: (idk, just running
code-serveron my local PC, so probably same as Local OS) - Remote Architecture:
x86_64my PC code-server --version:3.4.148f7c27
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working