JetBrains Rider
 
Get JetBrains Rider
Get your hands on the new features ahead of the release by joining the Early Access Program for Rider 2025.1! Learn more

Languages and frameworks: Shell scripts

Last modified: 28 June 2024

JetBrains Rider provides coding assistance for shell script files: completion (including local paths), highlighting, quick documentation textual rename refactoring, and more.

https://resources.jetbrains.com/help/img/rider/2024.3/cl_shellscript_assistance.png
Gif

It also includes a special type of run/debug configurations for shell scripts.

JetBrains Rider integrates with several external tools to enhance shell script support:

  • ShellCheck is a shell script static analysis tool that can detect syntax errors, semantic problems, corner cases, and typical pitfalls. JetBrains Rider will prompt you to install it if it is not available.

  • Shfmt is an external formatter engine for shell scripts. JetBrains Rider will suggest installing it when you reformat code CtrlAltEnter of the shell script for the first time.

  • Explainshell is a website that can parse any shell command and provide help text for each argument. Access to it is available via an context action: press AltEnter and select Explain shell.