Closed idillon-sfl closed 4 months ago
Where the diagnostics really unusable with these extensions? If it has false positives, but most ok, we could rather provide this as an option. There's already the option to disable all embedded languages features. Or to also disable these extensions in the workspace. If indeed, most diagnostics are false postiives, then filtering sounds nice. You could do the same on bash. (bash-ide + shellcheck OK)
I see this as a quick fix. Currently these extensions generate a lot of junk on BitBake files, and filtering only what's relevant might require some effort. However, it might be worthwhile to eventually support them properly. This is something we might want to discuss further.
This PR supports shellcheck. I've not added Bash IDE because it generates only one diagnostic and it does not seem relevant for BitBake.
Closes #233
Following this issue: https://github.com/yoctoproject/vscode-bitbake/issues/233
This simply ignore diagnostics from sources that we don't support, such as Pylint and flake8, in order to avoid irrelevant diagnostics.