KamasamaK / vscode-cflint

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

Not running onOpen or onSave, but does work manually #24

Open berengerz-vortexsolution opened 4 years ago

berengerz-vortexsolution commented 4 years ago

Hi! I installed everything, and restarted VSCode. The linter works when going through the commands, "Manually run CFLint on currently opened file". It does work, and outputs the errors correctly. But even though the settings seem to be correct, the lint is not done if not asked manually. I even tried the onChange, but to no avail.

    "cflint.runModes": {
        "onOpen": true,
        "onSave": true,
        "onChange": true
    }

I do not see anything specific in the Debug Console of VSCode.

Thanks for any advice or input!

VSC : 1.48.0 Extension version : 0.3.4 (from Marketplace) Using CFLint-1.5.0-all.jar (but should not be an issue because linting works when launched manually).

anas622 commented 1 year ago

Hey there!

I am having the same issue with CFLint. It only works with the command, "Manually run CFLint on currently opened file." As @berengerz-vortexsolution has mentioned, I have changed the settings for CFLint Runmodes, but it does not seem to do anything.

VSC : 1.80.1 Extension version : 0.3.6 (from Marketplace) Using CFLint-1.5.0-all.jar