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 warning if property contains the default value #377

Open
ghost opened this issue Mar 1, 2021 · 2 comments
Open

Add warning if property contains the default value #377

ghost opened this issue Mar 1, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 1, 2021

Hello, I have a feature request for you:

I sometimes find myself copying source code from the samples page. These examples are sometimes "bloated" (e.g. SimpleForm). Or I just try different values for a specific property and then stick with the default value because I like it the most (e.g. different backgroundDesigns for a Panel.

It would be nice to know that I can just remove the property because it contains the default value.

@bd82
Copy link
Member

bd82 commented Mar 2, 2021

Hello @OTTOxMarc

I think that such a feature would have a pre-requirement of "user configurable validation rules" capability first.
Because this is basically a style preference, and we cannot always show "Style" warnings, particularly if there are many of them.

@ghost
Copy link
Author

ghost commented Mar 2, 2021

Yes, I see that this might not be important for everyone and should be (de)activatable in some kind of user settings.

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

1 participant