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

Red line should go away after correction #222

Open vai-kedie opened 2 months ago

vai-kedie commented 2 months ago

If I have a serverless YAML file that contains an error, with the red squiggly line under it, that file will also show red in Explorer. If I correct the error, the red squiggly might shrink but it does not go away, and the file will still show red.

Actual: The only way I've been able to make it work properly is to disable the extension, restart extensions, then enable it again.

Expected: The extension should detect when a change is made and re-evaluate. If corrected, the red squiggly line should disappear and the file should appear to have no issues (i.e. not be red).