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

Add inspections to detect poor usage of Adventure Components #755

Open
me4502 opened this issue Aug 1, 2020 · 0 comments
Open

Add inspections to detect poor usage of Adventure Components #755

me4502 opened this issue Aug 1, 2020 · 0 comments
Labels
status: accepted This is a high-priority feature or a reproduced bug type: enhancement

Comments

@me4502
Copy link

me4502 commented Aug 1, 2020

Inspections to detect "unused calls" when building components would be useful. There are many different paths that can lead to various data being overwritten and therefore unused. kashike would know better about specifics.

To quote myself from Discord,

Or some inspections to detect unused stuff, like setting a colour then a style
(the style overrides the colour, so the colour call is useless)
Possibly also some inspection actions to minify stuff, like moving .color(TextColors.YELLOW) into a TextComponent.of call, etc
@RedNesto RedNesto added status: accepted This is a high-priority feature or a reproduced bug and removed status: unverified Needs triage labels Aug 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepted This is a high-priority feature or a reproduced bug type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants