KamasamaK / vscode-cflint

An extension to integrate CFLint into Visual Studio Code.
MIT License
17 stars 9 forks source link

Lightbulb "exclude rule" #10

Closed bardware closed 6 years ago

bardware commented 6 years ago

Hi,

I highlighted some code (double clicked a word) and to my surprise a lightbulb appeared. Please tell me what will happen when I click Exclude rule in .cflint. Will it disable the check for that rule?

grafik

Thanks for keeping this plugin up to date.

KamasamaK commented 6 years ago

That light bulb indicates that there are quick fixes/code actions available for the current selection. It is also displayed next to a selected problem in the Problems view. The "exclude rule" option listed there will add that rule to excludes within the .cflint for you. Other available code actions are listed in the README and are very limited based on the rule.

bardware commented 6 years ago

Missed that README; thank you!