Support for Quick Fix actions for custom rules #1225
Unanswered
danielbecroft
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
You can find an example here. You don't need a license for that. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
(raising here as discussions/issues are not allowed on the sonarlint-vscode project)
We are developing some custom rules based on the template repository and these are all working great. We want to expose a "Quick Fix" action for the rule within Visual Studio Code. For example one of our rules checks that the use of a variable/function/buffer etc matches the case of the definition. ie:
Is exposing quick fix actions for this something that is supported? I've got the Java code to add the message, and I can see the "CABL: Replace vfoo with vFoo" message appearing, but nothing is happening.
Just checking if it's supported, or something that should be possible with custom rules, or if it's limited to the licensed rule set, before I spend any further time debugging/investigating it.
Beta Was this translation helpful? Give feedback.
All reactions