Skip to content

Comments

Autodetect text block indent#6768

Merged
Jenson3210 merged 3 commits intomainfrom
autodetect-text-block-indent
Feb 18, 2026
Merged

Autodetect text block indent#6768
Jenson3210 merged 3 commits intomainfrom
autodetect-text-block-indent

Conversation

@Jenson3210
Copy link
Contributor

@Jenson3210 Jenson3210 commented Feb 18, 2026

Thanks a lot for the unit test @BoykoAlex!
For some reason I could not contribute to the branch/PR you opened so opening a new one from your branch.

This should now detect continuation from both newlined/continued text blocks and non-newlined text blocks. (as the depth increases for the newlined ones)

@github-project-automation github-project-automation bot moved this from In Progress to Ready to Review in OpenRewrite Feb 18, 2026
@Jenson3210 Jenson3210 merged commit e1183da into main Feb 18, 2026
1 check passed
@Jenson3210 Jenson3210 deleted the autodetect-text-block-indent branch February 18, 2026 23:08
@github-project-automation github-project-automation bot moved this from Ready to Review to Done in OpenRewrite Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Autodetect.FindIndentJavaVisitor ignore continuation indents from text blocks

3 participants