dart-code-checker / dart-code-metrics

Software analytics tool that helps developers analyse and improve software quality.
https://dcm.dev
Other
860 stars 265 forks source link

[BUG] (VsCode) No quick actions to ignore rules #1235

Closed petrnymsa closed 1 year ago

petrnymsa commented 1 year ago

Environment and configuration

DCM version: 1.3.0 Dart SDK version: Dart SDK version: 2.19.6

Configuration ```yaml OS: Windows 11, Version 10.0.22621 Build 22621 VSCode: 1.78.2 DCM extension: 1.3.0 ```

What did you do?

Standard "lints" can be via "quick-action" ignored (in line or in whole file), e.g.

image

But for "DCM" based rule / lint there is no quick action, for example

image

Rule: avoid-throw-in-catch-block

What did you expect to happen?

For DCM rules there will be quick-action for ignore

What actually happened?

No quick-action available

Participation

Additional comments

No response

incendial commented 1 year ago

This works as intended. Consider switching to the Teams version where this is solved.