Skip to content

Four formatting drifts, ported from the samples-controls pass - #63

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/apps-manual-check-i0byv7
Aug 28, 2026
Merged

Four formatting drifts, ported from the samples-controls pass#63
oblomov-dev merged 1 commit into
mainfrom
claude/apps-manual-check-i0byv7

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

The same cleanups that ran over samples-controls' 637 ports. Nothing changes what an app does.

What changed

1. The check_on_init( ) fork — 1 class. check_on_init( ) being true implies check_on_navigated( ) is true (every path to an instance's first main( ) sets that flag), so an init branch whose only statement is view_display( ) has an ELSEIF twin doing the same thing.

2 and 3 — no findings here. No t_arg list was wrapped onto a wrong column, and the one VALUE table of three or more rows is already column-aligned.

4. Statements that fit 120 characters on one line — 55 of them.

This repository is where two exemptions were found

The collapse rule had to learn two things here, and both are now exempt everywhere:

  • RAP statement sections. COMMIT ENTITIES … FAILED … REPORTED reads stacked for the same reason EXPORTING/EXCEPTIONS does — the sections are structure, not parameters.
  • String templates split with &&. Joining one made abaplint ask for reduce_string_templates (app 007), which is exactly how the exemption was found rather than guessed.

Also in this PR

The shared view-chain-layout skill, carried over from its source in abap2UI5 where it grew a seventh rule: a wrapped t_arg list hangs under its first element.

The ABAP style itself stays documented once, in samples/AGENTS.md, which this repository defers to and which is updated in the same round (abap2UI5/samples#807).

Verification

lint, check:abap2ui5, check:overview, check:keywords, check:abapdoc, check:samples-md, check:catalogue, check:prose, check:family-nav, check:app-rules, check:pin — all green.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XTmU5ANuAvvSTEUdqUpVag


Generated by Claude Code

The same cleanups that ran over samples-controls' 637 ports. Nothing changes
what an app does.

1. The check_on_init( ) fork - 1 class. check_on_init( ) true implies
   check_on_navigated( ) true, so an init branch whose only statement is
   view_display( ) has an ELSEIF twin doing the same thing.

2/3. No findings here: no t_arg list was wrapped onto a wrong column, and the
   one VALUE table of three or more rows is already column-aligned.

4. Statements that fit 120 characters on one line - 55 of them. Excluded by
   construction: the view chain, wrapped t_arg lists, classic and RAP
   statements whose sections carry meaning stacked (this repository is where
   that mattered - COMMIT ENTITIES ... FAILED ... REPORTED had to be exempted),
   and string templates split with && - joining one made abaplint ask for
   reduce_string_templates, which is how the exemption was found.

Also carries the shared view-chain-layout skill over from its source in
abap2UI5, where it grew a seventh rule: a wrapped t_arg list hangs under its
FIRST element. The ABAP style itself stays documented once, in samples/AGENTS.md,
which this repository defers to and which is updated in the same round.

Gates: lint, check:abap2ui5, overview, keywords, abapdoc, samples-md,
catalogue, prose, family-nav, app-rules, pin - all green.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XTmU5ANuAvvSTEUdqUpVag
Copilot AI lite review requested due to automatic review settings August 28, 2026 15:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@oblomov-dev
oblomov-dev merged commit 1755ea5 into main Aug 28, 2026
24 checks passed
@oblomov-dev
oblomov-dev deleted the claude/apps-manual-check-i0byv7 branch August 28, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants