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

I cannot select the specified json schema ! #219855

Open
abgox opened this issue Jul 3, 2024 · 1 comment
Open

I cannot select the specified json schema ! #219855

abgox opened this issue Jul 3, 2024 · 1 comment
Assignees

Comments

@abgox
Copy link

abgox commented Jul 3, 2024

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.90.2
  • OS Version: Windows 11
    Steps to Reproduce:
  1. Add schema in settings.json
"json.schemas": [
        {
            "fileMatch": [
                "demo.json"
            ],
            "url": "https://abgox.github.io/schema/prettier/zh-CN/.prettierrc-min.json"
        },
        {
            "fileMatch": [
                "demo.json"
            ],
            "url": "https://abgox.github.io/schema/prettier/en-US/.prettierrc-min.json"
        }
    ]
  1. When I edit a demo.json, it matches to two schema.
  2. But,I cannot select the specified json schema !

image

  1. When I try to apply a given schema, it just goes to the schema page and doesn't apply it!
@abgox
Copy link
Author

abgox commented Jul 3, 2024

  • When I actually write .prettierrc.json, even though it matches more than one schema, because the prettier plugin is installed, it will only use the json schema provided by the plugin by default.
  • I configured some custom architecture, but I can't apply the custom architecture.
  • I wish I could apply the selected architecture with a mouse click, or the Enter key, which should also be a correct experience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants