-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request 'setStorageValue' failed on closing file without workspace when SQLTools extension is install #8963
Comments
@odeliat based on the condition, are you certain it's an actual issue? A workspace must be opened before you can set the the storage: theia/packages/plugin-ext/src/main/node/plugins-key-value-storage.ts Lines 56 to 62 in 50b636b
The same is true for |
@vince-fugnitto This issue happens in Theia but not in vscode. The set method is activate but the |
@odeliat I'm not sure what you're expecting, by design the storage only works when a workspace is present: theia/packages/plugin-ext/src/main/node/plugins-key-value-storage.ts Lines 56 to 60 in b6add4a
theia/packages/plugin-ext/src/main/node/plugins-key-value-storage.ts Lines 91 to 97 in b6add4a
theia/packages/plugin-ext/src/main/node/paths/plugin-paths-service.ts Lines 60 to 69 in b6add4a
When no workspace is present, the path is If you're looking to set storage independent of the workspace, then Note: I cannot tell what |
@odeliat @vince-fugnitto @amiramw |
Bug Description:
When I install SQLTools extension and close file without workspace I get this error: (attached screen video)
The error is in file packages\plugin-ext\src\main\node\plugins-key-value-storage.ts:59 (set method)
sql-tools.mp4
I created a new extension with the use of workspaceState and got the same error but did get the string:
TheSQLTools also use the same code
Steps to Reproduce:
Additional Information
The text was updated successfully, but these errors were encountered: