You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Extra quotes in settings json editor of non-current profile #156290
bugIssue identified by VS Code Team member as probable bugconfigVS Code configuration, settingssettings-editorVS Code settings editor issuesverifiedVerification succeeded
Can you open the settings and see what editor.suggest.insertMode is configured?
It's default setting is insert but json and jsonc overwrite the default to replace. I wonder if there's some problem with the configuration store.
Not clear if it's the settings UI that shows incomplete information, but after switching a profile, not all default language overwrites are shown. If the JSONC language overwrite for editor.suggest.insertMode is not loaded, that would explain what Alex is seeing.
I'm unable to repro the issue now. I notice when I switch profiles and hover again over the label that it changes the list of languages depending on the extensions installed, but I always manage to have JSON and JSONC in the list.
bugIssue identified by VS Code Team member as probable bugconfigVS Code configuration, settingssettings-editorVS Code settings editor issuesverifiedVerification succeeded
Activity
sandy081 commentedon Jul 27, 2022
I cannot reproduce it. Anyway this comes from JSON language server.
CC Martin Aeschlimann (@aeschli)
aeschli commentedon Jul 27, 2022
I'm also not able to reproduce
Did you press shift when selecting the completion (insert mode)?
alexr00 commentedon Jul 27, 2022
No, I just hit enter.
aeschli commentedon Jul 27, 2022
Can you open the settings and see what
editor.suggest.insertModeis configured?It's default setting is
insertbutjsonandjsoncoverwrite the default toreplace. I wonder if there's some problem with the configuration store.alexr00 commentedon Jul 28, 2022
It started as an empty profile, so theme is the only thing I have set. Value of

editor.suggest.insertMode:aeschli commentedon Jul 28, 2022
JSON and JSONC should also be in that list.

I just tested again, switching to a Test profile and I even get even fewer entries:
Looks like there's something off.
sandy081 commentedon Jul 28, 2022
Martin Aeschlimann (@aeschli) Do you think it is related to profiles? If so can you please share any insights on what would have caused it?
aeschli commentedon Jul 28, 2022
Not clear if it's the settings UI that shows incomplete information, but after switching a profile, not all default language overwrites are shown. If the JSONC language overwrite for editor.suggest.insertMode is not loaded, that would explain what Alex is seeing.
rzhao271 commentedon Jul 28, 2022
I am able to repro the issue and my settings look like #156290 (comment)
rzhao271 commentedon Aug 8, 2022
I'm unable to repro the issue now. I notice when I switch profiles and hover again over the label that it changes the list of languages depending on the extensions installed, but I always manage to have JSON and JSONC in the list.
Alex Ross (@alexr00) are you able to repro the issue in the latest Insiders?
alexr00 commentedon Aug 9, 2022
I cannot repro with the latest insiders, though I could still repro with an insiders from some time last week. Looks like it's fixed.