[Ann] BashSupport 0.4
Another update for the BashSupport plugin has been released.
The changelog:
- Improved parsing (again :)
- Structure view
- Go to definition for functions (Ctrl+B)
- Show definition for functions (Ctrl+Shift+I)
- Highlighting option for internal bash commands
- Highlighting option for external commands
- Highlighting option for calls calls to resolved functions
The plugin is available at http://plugins.intellij.net/plugin/?id=4230 .
Please sign in to leave a comment.
Hi,
Would it be possible to open files under BashSupport without a suffix? I never give my BASH scripts a ".sh" or ".bash" (or any other) suffix, since the whole point is to have them act and appear like any other command.
The "shebang" line ("#! /bin/bash ..." or "#! /bin/sh ...") would be a proper signature for inferring that a file is a shell script. Possibly the fact that the file is an executable text file (and has no explicit shebang line) could be the fallback.
Randall Schulz
good code is red
#!/bin/bash
PARAMS=$*
echo $PARAMS
case $1 in
show)
PIDS="12 13 14"
for PID in $PIDS
do
if [ -n "$PID" ]
then
echo $PID
fi
done
;;
esac
Hi,
thank you for the feedback. This bug is fixed now and the fix will be in the next update.
Regards,
Wallaby
>
>
>
>
>
Quick Help on commands is really missing (Ctrl+Q).
You didn't mark anything red. Which portions of your script were flagged with the red squiggly underline?
Randall Schulz
Ctrl+Q is on my todo.
Maybe I even manage to display man pages for external commands. I'll see what I can do.
Wallaby
I don't see any need for marking.
code is very short - you can always try it yourself.
if you see no problems, then it's my problems not yours
Hi,
I managed to open files without prefix as bash files. But there's no way to open only those files which
have no extension and have a shebang-line.
I hope to add a configuration option for the plugin to let it open files without extensions. Atm only .sh and .bash files
are supported by default.
Wallaby