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

Option to ignore certain unknown keys warnings #1558

Open
RoarkCats opened this issue Aug 3, 2024 · 4 comments
Open

Option to ignore certain unknown keys warnings #1558

RoarkCats opened this issue Aug 3, 2024 · 4 comments
Labels
/core ✨ feature New feature or request /mcdoc
Milestone

Comments

@RoarkCats
Copy link

Would be nice if you could dismiss individual issues to be able to clean up your workspace more like you can with text editors

image
image

image
image

@misode misode changed the title Dismiss/Ignore/Hide option for individual warnings/errors Option to ignore certain unknown keys warnings Dec 10, 2024
@misode misode added ✨ feature New feature or request /core /mcdoc labels Dec 10, 2024
@misode
Copy link
Member

misode commented Dec 10, 2024

I've rebranded this issue a bit, hope you're okay with that

@misode misode added this to the Backlog milestone Dec 10, 2024
@RoarkCats
Copy link
Author

Another instance where this would be useful:
Image
This tellraw still runs without the command being complete, only errors if you actually use the click event
(I had this use case where I needed multiple text components to have the same click event but needed it gone for the last one)

@misode
Copy link
Member

misode commented Dec 22, 2024

I think that's a completely different issue. To fix this current issue, I think it might be a good idea to have a config rule allowing unknown field names, where you could set it to ["_.*", "comment"] for example.

@RoarkCats
Copy link
Author

I think that's a completely different issue.

Would the second image in the original post then also be part of this different issue? It's pretty much the same thing but with suggest_command instead of run_command where the cmd in question is not formated properly and would/does error when run but the tellraw as a whole still works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
/core ✨ feature New feature or request /mcdoc
Projects
None yet
Development

No branches or pull requests

2 participants