BashSupport Pro supports code completions of variables, functions, and commands.
Elements of the current file, of files sourced by the current file and of all files, which source the current file, are shown.
Variables of your current script and of sourced scripts show up in code completion. If the current file is sourced somehwere else, then variables declared in that file, show up, too.
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. If you’re referencing a path at the first position of a command, 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.