iljapostnovs/ui5plugin-linter

Feature Request: Default values linter

Closed this issue · 3 comments

I would like to ask to add a configuration that would allow to disable "information" about unnecessary value because it is the same as default.
Let's take a table for example:
CleanShot 2023-06-30 at 03 59 14
CleanShot 2023-06-30 at 03 59 21

If there is already a parameter that would allow to disable this hint it would be great but I couldn't find it... This is especially helpful with forms but can be used in many other scenarios when you want to set the value so everyone know point-blank what it is - without checking the documentation for default value but in the same time don't want to have that blue line about unnecessary assignment.

Sure. I will add it in the next release.

Meanwhile you can put ui5ignore with specific attribute
image

Done in v1.8.0.

VSCode Extension will be updated a bit later.

VSCode Extension updated. Please check.