bash-language-server icon indicating copy to clipboard operation
bash-language-server copied to clipboard

Auto disable linting functionality if ShellCheck vscode extension is installed

Open felipecrs opened this issue 2 years ago • 2 comments

What is the problem this feature will solve?

I like the two extensions. But I need to manually disable the shellcheck path of Bash IDE so that it does not duplicate results with the ShellCheck extension:

image

What is the feature you are proposing to solve the problem?

It would be nice if Bash IDE could automatically disable linting if ShellCheck extension is detected.

What alternatives have you considered?

No response

felipecrs avatar Feb 03 '23 22:02 felipecrs

Thanks for the suggestion! So the bash language server is integrated in most editors (Atom, Eclipse, Emacs, Helix, JupyterLab, Neovim, Sublime Text, Vim, Visual Studio Code, Oni, and other editors that I forgot). As for the vscode extension we could detect if the ShellCheck extension is used. As a workaround then users can disable linting if bashIde.shellcheckPath is set to an empty string.

An alternative would be to join forces and ensure that all editors get a great ShellCheck experience. Your great extension has a few feature that we currently do not support in the bash language server, but it should be too hard to add.

skovhus avatar Feb 04 '23 19:02 skovhus

An alternative would be to join forces and ensure that all editors get a great ShellCheck experience. Your great extension has a few feature that we currently do not support in the bash language server, but it should be too hard to add.

This discussion is continued on https://github.com/vscode-shellcheck/vscode-shellcheck/issues/920.

felipecrs avatar Feb 05 '23 14:02 felipecrs