Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hey guys!
I'm trying to figure out how and where the information whether the extension is disabled/enabled is stored. I suspect it may be stored somewhere in the browser local storage - having another session opened in the private tab shows that extension state is not shared but it's isolated. I wanna have programmatic way of disabling/enabling the extension but since Code Server doesn't have this feature yet I need to hack my way around :)

You must be logged in to vote

I think you are right, it seems to be stored in Indexed DB, in vscode-web-state-db-global under the key extensionsidentifiers/disabled.

I am not seeing any API to get whether an extension is disabled, so accessing this info programmatically might be tricky.

Replies: 3 comments

Comment options

I think you are right, it seems to be stored in Indexed DB, in vscode-web-state-db-global under the key extensionsidentifiers/disabled.

I am not seeing any API to get whether an extension is disabled, so accessing this info programmatically might be tricky.

You must be logged in to vote
0 replies
Answer selected by code-asher
Comment options

hmm I can't see this key but vim extension is disabled:
image

You must be logged in to vote
0 replies
Comment options

nevermind I can see it now - thanks! :)

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.