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

Add ShellCheck's "source.fixAll.shellcheck" functionality

Open j-lakeman opened this issue 2 years ago • 2 comments

What is the problem this feature will solve?

lots of little bash problems at once e.g. forgotten quotation marks

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

automatic fixing of simple issues on save e.g. inserting quotation marks

What alternatives have you considered?

Using ShellCheck alongside Bash IDE, but only for this functionality, as Bash IDE already has all of ShellCheck's other features. This would implement one more quite handy little feature IMHO.

j-lakeman avatar Nov 19 '23 21:11 j-lakeman

I agree. To truly make bash-lsp standalone, it would also require bundling shellcheck though (#663)

chrisgrieser avatar Dec 22 '23 16:12 chrisgrieser

Makes sense. Contributions are more than welcome.

skovhus avatar Dec 28 '23 14:12 skovhus