-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
“Edit in settings.json
” fails to create key
#134908
Comments
Possibly related bug: #127819 |
This is a bit of a show stopper when an extension only provides a single setting which needs to be set in the settings.json. You have to go back to the GUI view, copy the path of the setting and then go back to the json view and search for the setting. I don't know if it is related, but the option to copy the default settings from the json to the user settings file is no longer present (as far as I can see). |
This seems to work for me now. Please try the latest VS Code and revalidate. If you still see the issue provide us with the steps to repro. |
Issue Type: Bug
Description/TL;DR
The September 2021 (stable) release does not insert an earstwhile nonexistent JSON key after opening
settings.json
, when the "Edit in settings.json" link against any unmodified setting is clicked.This seems to be for both "User" and "Workspace" scopes.
Expected Results
On clicking Edit in settings.json, the corresponding key (ID) is focused in the
settings.json
file, whether or not it was earstwhile present.Actual Results
While
settings.json
always successfully opens each time, the corresponding key ID is only brought under cursor focus when it was already present in the file (i.e., previously set).Steps to Reproduce
editor.codeActionsOnSave
) and has not been@modified
.VS Code version: Code 1.61.0 (ee8c7de, 2021-10-07T18:13:09.652Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No
2021-10-12_19-24-25.mp4
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: