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
Tolerate trailing commas in jsonc format (breakage) #177584
Nothing changed recently, but we have two flavours of JSON with Comment. One with just comments (a.) and one with comments and trailing commas (b.)
(a.) is the default. To get b., you also need a JSON schema associated that has "allowTrailingCommas": true, set as seen in #102061 (comment). I verified in the latest build that this still correctly works.
If this doesn't work for you, can you give a reproducible example?
First, & foremost accept my gratitude for your communication. Thank you for
taking your time explaining in detail. The explanation is exact.
Unfortunately on my behalf it's not currently available to put to good
practice due to the lack of adequate functional operating equipment. I have
no recorce computable operating system for implementation of your
suggestion. I realized that at this moment I'm only able to express my
gratitude and won't forget this kindness.
My ARM Samsung Galaxy Bookgo isn't suitable to for operation due to the
incompatibility primarily and my self included. I failed to over look the
very obvious careless to say the least. I shouldn't have operated it in the
manner as I would a intel, or AMD processors I'm more antiquated perhaps.
I will spear the details, to the technical issues to resolve on a different
note. I purchased what I could afford practically months apart in
purchasing ability for my income. I have a intel now but have not opened
the box yet.
I'm currently going to put your explanation to good use once I'm able to
register the product. It's pretty certain you're closing additional extent
of formulating an example I could comprehend is well accepted on my level
it makes a very big difference to be very direct in addressing the very
nature.
Thank you once again and please accept my gratitude.
Antonio Gonzalez
***@***.***
***@***.***
On Mon, Mar 20, 2023, 3:37 AM Martin Aeschlimann ***@***.***> wrote:
Nothing changed recently, but we have two flavours of JSON with Comment.
One with just comments (a.) and one with comments and trailing commas (b.)
(a.) is the default. To get b., you also need a JSON schema associated
that has "allowTrailingCommas": true, set as seen in #102061 (comment)
<#102061 (comment)>.
I verified in the latest build that this still correctly works.
If this doesn't work for you, can you give a reproducible example?
—
Reply to this email directly, view it on GitHub
<#177584 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQA5AWWIMBOG6RKJGALZFADW5AJNXANCNFSM6AAAAAAV7XQLSI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Martin Aeschlimann (@aeschli) Thanks for the reply. I've figured out what's particular about my case: I have a workspace open with the correct JSON schemas configuration in the workspace's settings.json, but the JSON file in question is outside of this workspace, even though it's open in the workspace's window and matches fileMatch (or at least used to). So, the workspace's settings must have applied to such files before, but not any more. Is this scenario still supported in some other way?
Activity
aeschli commentedon Mar 20, 2023
Nothing changed recently, but we have two flavours of JSON with Comment. One with just comments (a.) and one with comments and trailing commas (b.)
(a.) is the default. To get b., you also need a JSON schema associated that has
"allowTrailingCommas": true,set as seen in #102061 (comment). I verified in the latest build that this still correctly works.If this doesn't work for you, can you give a reproducible example?
tonyvg2013 commentedon Mar 20, 2023
alexreg commentedon Mar 21, 2023
Martin Aeschlimann (@aeschli) Thanks for the reply. I've figured out what's particular about my case: I have a workspace open with the correct JSON schemas configuration in the workspace's
settings.json, but the JSON file in question is outside of this workspace, even though it's open in the workspace's window and matchesfileMatch(or at least used to). So, the workspace's settings must have applied to such files before, but not any more. Is this scenario still supported in some other way?aeschli commentedon Mar 21, 2023
Ok, yes, no I realize there have been changes there. We now apply the workspace settings only to files located in that workspace.
alexreg commentedon Mar 21, 2023
J/A (@archer884) Okay, fair enough. No "workaround" for this then? If so, feel free to close it.
aeschli commentedon Mar 23, 2023
Fixed by #178008
alexreg commentedon Mar 23, 2023
Martin Aeschlimann (@aeschli) Thanks, that's super.