You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The difference to legacy BashSupport is that an external formatter (i.e. shfmt) is used. This formatter is only supporting to format all of the code passed to it.
The next major version of BashSupport Pro, 2.0, will improve this situation (it's already available in the preview versions).
If text is selected, then this range is expanded to the next complete Bash construct and is then send to the formatter.
Formatting content which isn't valid on its own, e.g. a in a b c of for a in a b c; do echo $a; done would reformat the for loop, for example. But that's mostly the same as formatters of other languages in IntelliJ.
When you select a code block or an entire function and do Code -> Reformat Code, the entire file is reformatted !
It was working fine with previous Plugin: Bash Support.
The text was updated successfully, but these errors were encountered: