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

Generate grammar fails on first attempt with experimental formatter #1382

Closed
datho7561 opened this issue Nov 29, 2022 · 0 comments · Fixed by #1385
Closed

Generate grammar fails on first attempt with experimental formatter #1382

datho7561 opened this issue Nov 29, 2022 · 0 comments · Fixed by #1385
Assignees
Labels
bug Something isn't working
Milestone

Comments

@datho7561
Copy link
Contributor

  1. Clear the lemminx cache
  2. Use the experimental formatter
  3. Make an XML file with some content that is not associated with any schema
  4. Use the "generate schema and associate" quick fix (you should be able to use any of the generate quick fixes)
  5. Nothing will happen
    In the logs, you should see a org.eclipse.lemminx.uriresolver.CacheResourceDownloadingException.
  6. Try again, this time it should succeed.
@datho7561 datho7561 added the bug Something isn't working label Nov 29, 2022
@datho7561 datho7561 self-assigned this Nov 29, 2022
@datho7561 datho7561 added this to the 0.23.0 milestone Nov 29, 2022
datho7561 added a commit to datho7561/lemminx that referenced this issue Nov 29, 2022
Also fixes some bugs with grammar aware formatting and the grammar generator.

Closes eclipse-lemminx#1382

Signed-off-by: David Thompson <davthomp@redhat.com>
datho7561 added a commit to datho7561/lemminx that referenced this issue Nov 30, 2022
Also fixes some bugs with grammar aware formatting and the grammar generator.

Closes eclipse-lemminx#1382

Signed-off-by: David Thompson <davthomp@redhat.com>
datho7561 added a commit that referenced this issue Dec 2, 2022
Also fixes some bugs with grammar aware formatting and the grammar generator.

Closes #1382

Signed-off-by: David Thompson <davthomp@redhat.com>
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

Successfully merging a pull request may close this issue.

1 participant