Bash-LSP: A language server for Bash

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • bash-language-server

    A language server for Bash

  • > If you would have told me 5 years ago I'd need to install node and typescript in order to get auto completion for bash, I'd have called you crazy.

    This line right here means there's no runtime dependencies https://github.com/bash-lsp/bash-language-server/blob/fa5a65...

  • sh

    A shell parser, formatter, and interpreter with bash support; includes shfmt (by mvdan)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • ShellCheck

    ShellCheck, a static analysis tool for shell scripts

  • * https://github.com/koalaman/shellcheck

    At Fig (withfig.com), we had to write a bash parser from scratch. These projects all work well in the IDE context, but in a repl environment (ie when typing in your terminal) they don't support incomplete commands very well. e.g if I type `echo "$(` the above parsers will break as the double quote and parentheses are not closed.

  • morbig

    A static parser for POSIX Shell

  • Morbig is another interesting shell parser project:

    https://github.com/colis-anr/morbig

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts