BashSupport Pro supports code completions of variables, functions, and commands.
Elements of the current file, of files sourced by the current file, of all files sourcing the current file, and of configured shell script libraries, are shown.
Variables, which are valid at the current position show up in code completion. Variables, which are out of scope are not displayed.
Variables are suggested for commands, which expect variable names as arguments.
All functions, which are available at the current position, are shown in code completion. Functions, which are out of scope, are not displayed.
BashSupport Pro suggests built-in commands and commands, which are defined by the POSIX standard.
Please note, that POSIX commands are shown even when they’re not present on the current machine.
Commonly used shebang commands are displayed, when you start typing in the shebang line.
File paths are completed, too. If you’re referencing a path where a command is expected, then the popup is shown automatically. But to avoid unnecessary automatic completions, you have to manually invoke code completion for arguments.
Please note, that this is using the paths of the current machine. Make sure, that you’re only using paths, which are also available in the target environment of your script.