We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Type: Bug
Attempting change global setting inside deactivate() function fail. No changes are done
deactivate()
Example:
export function deactivate() { const config = workspace.getConfiguration(); console.log("deactivate()", "before", JSON.stringify(config.get('mysetting'))); config.update('mysetting', Date.now(), true); console.log("deactivate()", "after", JSON.stringify(config.get('mysetting'))); }
The console shows before and after the same value undefined and global settings.json not changed
before
after
undefined
settings.json
VS Code version: Code 1.85.1 (0ee08df, 2023-12-13T09:49:37.021Z) OS version: Windows_NT x64 10.0.19045 Modes:
The text was updated successfully, but these errors were encountered:
@alexdima I suspect this is not support during deactivation, hence assigning to you.
Sorry, something went wrong.
alexdima
No branches or pull requests
Type: Bug
Attempting change global setting inside
deactivate()
function fail. No changes are doneExample:
The console shows
before
andafter
the same valueundefined
and globalsettings.json
not changedVS Code version: Code 1.85.1 (0ee08df, 2023-12-13T09:49:37.021Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (87)
The text was updated successfully, but these errors were encountered: