BashSupport Pro supports the quick documentation feature for variables, variable declarations, functions and commands.
All previous modifications of type and properties are tracked. It stops when there’s no more declaration or until the first
Line comments, which immediately precede the first declaration, are displayed as documentation of that variable. The scope of the variable declaration is displayed in the popup, i.e.
Supported attributes of variables:
- String, this is the default and not displayed
- Indexed array, e.g. by
- Associative array, e.g. by
- Read–only, e.g. by
- Exported, e.g. by
- Integer, e.g. by
- Lowercase values on assignment, e.g. by
- Uppercase values on assignment, e.g. by
- Trace, e.g. by
The documentation of variable declarations is similar to variables. The attributes are first taken from the declaration itself and then merged with any previous declaration of the same variable.
Line comments, which immediately precede the first declaration, are displayed as documentation of that variable.
BashSupport Pro comes with its own documentation for the builtin variables, e.g.
Quick documentation is available on the function name itself or on any invocation of that function.
Line comments, which immediately precede the declaration of the function, are displayed as documentation of that variable.
If the first comment follows the form
name(param1,param2), then the parameters are displayed in the rendering.
For Bash’s built-in commands, BashSupport Pro displays the content returned by the
help command for that particular command.
For other commands, BashSupport Pro displays the