bashsupport-pro
bashsupport-pro copied to clipboard
Better support for zsh
Improve support for zsh support. JetBrains Shell is handling .zsh files, but identically to Bash files.
Things, which BashSupport Pro could do:
- add support for additional/different syntax elements of zsh
- Support the zsh shebang lines
- Support the zsh debugger, https://github.com/rocky/zshdb
- Support commonly used tools of the zsh world. Is there something similar like shellcheck or shellfmt?
- Show zsh docs for built-in commands and keywords, instead of bash help content
- New file templates to create a new zsh script
ZSH code completion would also be awesome.
Yes. Kind of blocked now since I added ${(%):-%x} in my zsh script Bash support pro cannot analyze any vars after :(
@freddy33 Could you post a snippet where this happens? The parsing should recover and start to parse commands again after the unsupported zsh statement.
I'm working on Zsh support now, which will be part of version 4.0. This is going to take some time, because it's a lot of work. I'm planning to release preview versions as soon as Zsh support is somewhat stable.
Preview build 4.0.0-beta9 is available with zshdb integration for local and remote debugging, completion and a few more features. Changelog and download for testing at https://plugins.jetbrains.com/plugin/13841-bashsupport-pro/eap-bashsupport-pro-4-0 I'd appreciate if you shared your feedback. Thank you!
4.0 beta11 is now able to parse Zsh‘s parameter completion flags.
4.o with Zsh support is available now, https://www.bashsupport.com/manual/zsh/ lists features and known limitations