abap-cleaner
abap-cleaner copied to clipboard
Feature request: Make ABAP Doc synchronized if short enough
I'd like to request a new rule on automatically making existing ABAP Doc synchronized if the text is short enough.
Example:
"! This is my documentation
CLASS lcl_example DEFINITION CREATE PUBLIC.
PUBLIC SECTION.
PROTECTED SECTION.
PRIVATE SECTION.
ENDCLASS.
Expected result:
"! <p class="shorttext synchronized">This is my documentation</p>
CLASS lcl_example DEFINITION CREATE PUBLIC.
PUBLIC SECTION.
PROTECTED SECTION.
PRIVATE SECTION.
ENDCLASS.
I think this will make writing documentation faster.
The ADT quick fixes sometimes don't generate the ABAP Doc using shorttext synchronized, so that would solve this issue as well.
Hi ConjuringCoffee,
that makes sense, you wouldn't want to type <p class="shorttext synchronized"> manually or to copy/paste it from another place. However, let me first try to find out why the Quick fix doesn't always generate this automatically, will get back!
Kind regards, Jörg-Michael
Hi @jmgrassau,
have you found out something regarding the quickfix?
Best regards, Alex