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 Comment

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

Function Comment

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 Body

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 Command

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

Compound Command

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

If Command

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

Case Pattern

Code folding of case patterns
Code folding of case patterns

Vim-Style Custom Folding Region

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… → Editor → General → Code Folding.

How to configure code folding of BashSupport Pro
How to configure code folding of BashSupport Pro
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款