You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Expose shellcheck and shfmt as vscode code actions #1395
Code actions are the modern approach for this behaviour. Other formatting/linting extensions already work this way, and could be used for guidance (e.g. ESLint extension, Prettier extension, ShellCheck extension).
Implications:
Control lint/format-on-save behaviour from vscode settings
Control each operation independently, enforce ordering
Follow modern approach of letting the editor control save-time behaviour rather than hard-coding triggers in extension logic
I've noticed there are many issues related to settings and overlap between various extensions and tools. This approach would probably address many of them, as it's the recommended modern on-save behaviour in vscode.
That works but is not ideal: quickfix is generic and includes code actions from all extensions targeting shellscript.
It therefore does not provide the control discussed above (i.e. two dedicated source actions, such as source.fixAll.bashide-format and source.fixAll.bashide-lint).
Activity
lonix1 commentedon Sep 14, 2026
There is a workaround using the generic
quickfixCodeActionKind:That works but is not ideal:
quickfixis generic and includes code actions from all extensions targetingshellscript.It therefore does not provide the control discussed above (i.e. two dedicated source actions, such as
source.fixAll.bashide-formatandsource.fixAll.bashide-lint).