Open gohierf opened 2 months ago
Additional options to consider:
Multiple Quick Fix Suggestions: In addition to the existing # robotcode: ignore
option, it would be helpful to provide other Quick Fix suggestions. For instance, allow the user to turn the diagnostic into a warning or a hint instead of ignoring it completely.
Scope of Quick Fix Application: It would be beneficial to allow the Quick Fix to be applied not just on a single line, but also for larger scopes like the entire block, the whole file, or even globally. For the latter, options could include applying the fix via the VSCode settings or adding the rule to the robot.toml
configuration file.
Is your enhancement request related to a problem? Please describe. Robotcode recently add more granularity to disable diagnostics rule by rule rather than the whole diagnostics. Quick fix shortcut still suggest disabling the whole diagnostics with
# robotcode: ignore
.Describe the solution you'd like When using quick fix for
Variable XXX is not used
, quick fix shortcuts add the# robotcode: ignore
comment. I would prefer the quick fix to add# robotcode: ignore[variable-not-used]
.Describe alternatives you've considered Not using the quick fix shortcut.
Additional context This enhancement would help to spread the word about the new feature.