3 ms·
I don't know which editor you are using, but the shellcheck plugin for VS Code works really well. Underlines warnings and errors, and on hover gives you a short
by wodenokoto 3y ago
I don't know which editor you are using, but the shellcheck plugin for VS Code works really well. Underlines warnings and errors, and on hover gives you a short description and a link to a long description. There's also a "fix" button, but I it only works for the simplest of cases.
- keepamovin 3y agoOh, I use vim. And I don't really know about any plugins that work. But I would try VS Code just to go through my shell files with shellcheck! :)
- marcelarie 3y agoyou can use nvim then, it has shellcheck for diagnostics and formatting, like in vscode :) here the link to the config: https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/doc/BUILTIN_CONFIG.md#diagnostic-config https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main...
- keepamovin 3y agoThanks, for the link, man! Helpful. Is nvim, like, command line? I don't like to be in GUI when I'm coding. I mean I guess I could hook up my Quake style iTerm2 dropdown overlay to display a GUI window (but I think that only works on Windows with ConEmu). It's just easier for me to stay in command line, switch to GUI to eval or research...or watch videos! Haha
- llimllib 3y agonvim is a fork of vim, so yes it’s a command line editor
- keepamovin 3y agoCool! Will give a try.
- ramses0 3y agoSyntastic, I think? `~/.vim/pack/default/start/syntastic/README.markdown`