BashSupport Pro adds code folding to the Shell plugin.
- Custom folding regions
- Vim’s default markers are supported in addition to IntelliJ’s custom markers.
- Multi–line comments
- All multi–line comments, which are not attached to a function, are collapsed.
- Function comments
- All comments, which are attached to a function, are collapsed. A sequence of comments, which is immediately followed by a function definition, is attached to this function.
- Function blocks
- Blocks, which define the body of a function, are collapsed.
Code Folding Settings
Here you can configure the default behaviour of code folding. The checked elements will be folded by default.