Code Folding

BashSupport Pro provides code folding for shell scripts.

Syntax-Based Folding

BashSupport Pro adds folding to the syntax elements of your shell scripts. See below for detailed list elements, which can be collapsed and expanded.

Multiline Comments

Folding of a multi-line comment
Folding of a multi-line comment

Function comments

Folding of a function comment
Folding of a function comment

Here Document

Folding of a here document
Folding of a here document

Subshell

Folding of a subshell
Folding of a subshell

Function Bodies

Code folding of group command body
Code folding of group command body
Code folding of if compound command body
Code folding of if compound command body

Group Commands

Code folding of a group command
Code folding of a group command

Compound Commands

Code folding of a group command
Code folding of a group command

If Commands

Code folding of a group command
Code folding of a group command

Case Patterns

Code folding of case patterns
Code folding of case patterns

Vim-Style Custom Folding Regions

BashSupport Pro supports Vim’s default markers, in addition to IntelliJ’s custom markers.

Custom folding region
Custom folding region

Code Folding Settings

Here you can configure the default behaviour of code folding. The checked elements will be collapsed by default. You can find the settings at Settings/Preferences…EditorGeneralCode Folding .

How to configure code folding of BashSupport Pro
How to configure code folding of BashSupport Pro
© 2020–2021 Joachim Ansorg
Imprint
Privacy Policy
Legal