Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 949 Bytes

comment-position.md

File metadata and controls

38 lines (24 loc) · 949 Bytes

code pal for ABAP > Comment Position

Comment Position

What is the Intent of the Check?

This check searches for "Quote comments" which are not indented along with the statements they belong to.

How to solve the issue?

You should indent the comments along with the statements they are commenting.

What to do in case of exception?

There is no exception for this check since it works as an indicator only. Thus, it is also not possible to suppress its findings.

Example

Before the check:

" delegate pattern
  output = calculate_result( input ).
  output = calculate_result( input ). " delegate pattern

After the check:

  " delegate pattern
  output = calculate_result( input ).

Further Readings & Knowledge