Closed AlexSkrypnyk closed 10 months ago
Duplicate of https://github.com/mvdan/sh/issues/963, https://github.com/mvdan/sh/issues/933, https://github.com/mvdan/sh/issues/700.
If there is a bug, please file a bug. Otherwise, the tool isn't meant to be used for chunks of code. You can always split your scripts into multiple files, and choose to only format some of them.
Can we please have a new feature to exclude code formatting for lines between
# @formatter:off
and# @formatter:on