Skip to content
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

How to verify fileMatch? #3

Closed
giacomorebonato opened this issue Oct 10, 2024 · 1 comment
Closed

How to verify fileMatch? #3

giacomorebonato opened this issue Oct 10, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@giacomorebonato
Copy link

First of all thank you for this extension, it was very needed!

How can I tell if the fileMatching is working?
I am not getting the autocomplete from the schema and I am looking for the root cause.

  "json5.schemas": [
    {
      "fileMatch": [
        "test.json5"
      ],
      "schema": true,
      "url": "../my-schema.json"
    },
 ]
@BlueGlassBlock
Copy link
Owner

BlueGlassBlock commented Oct 11, 2024

I've confirmed this as a bug, will release a fix today. Thanks for spotting it! (BTW schema and url have equivalent effects in configurating schema associated with a file, so only one should be set)

@BlueGlassBlock BlueGlassBlock added the bug Something isn't working label Oct 11, 2024
@BlueGlassBlock BlueGlassBlock self-assigned this Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants