@codemod/abap-line-length-s103-mining
Wrap overlong ABAP full-line comments so they fit under a configurable line-length limit without rewriting executable statements.
Installation
bash
Usage
This codemod rewrites only full-line ABAP comments when they exceed maximumLineLength.
- Rewrites lines that start with
*or with"after indentation. - Splits long comment text at word boundaries and hard-wraps single words when needed.
- Targets
*.abapfiles recursively. - Preserves executable ABAP statements and end-of-line comments unchanged.
- Skips comments that already fit within the configured maximum.
The transform uses a text-based rewrite because ABAP is not a parser-backed JSSG language in this package scaffold.
Development
bash
License
MIT