threadheap / serverless-ide-vscode

Serverless IDE: Enhanced support for AWS SAM and CloudFormation in VS Code
https://serverless-ide.com/
195 stars 46 forks source link

[Serverless IDE]: cfn-lint error: No command provided! #223

Open KWLandry-acoustic opened 2 months ago

KWLandry-acoustic commented 2 months ago

Hi Folks, Need a little help, Have gone through a fair bit of troubleshooting but cannot determine what's causing this error when leveraging the plugin,

[Serverless IDE]: cfn-lint error: No command provided!

I've worked through a couple of iterations of installing, upgrading, uninstalling, installing, upgrading cfn-lint while restarting vscode, and uninstalling not only serverless-ide-vscode extension but also all linting tool extensions as well, yet each iteration this message persists (except, of course, when the plugin is not installed),

I've searched here as well but cannot find any references or clues. Can someone offer a hint or clarification on the message? Running cfn-lint validate template.yml works just fine, leading me to believe there is a config option that's missing that supplies the validate and file name to the cfn-lint command used by the extension, but, at a loss to work out how to resolve the message and thereby missing functionality with the extension.

The expectation is that I'll see validation errors through the plugins capabilities so, marked as in-error in the editor and/or console, etc....

FYI, have edited the extension to add cfn-lint path, using which cfn-lint, with no difference.

Thanks, KWL