Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Issue #17223: implementation of Indentation TextBlockGoogleStyleFormattingCheck#17395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
mohitsatr wants to merge1 commit intocheckstyle:master
base:master
Choose a base branch
Loading
frommohitsatr:textblockgooglestyle-indent

Conversation

mohitsatr
Copy link
Member

@mohitsatrmohitsatr commentedJul 15, 2025
edited
Loading

part of#17223

Added indentation feature to check if quotes are vertically aligned.

test only PR. NOT TO BE MERGED

@mohitsatr
Copy link
MemberAuthor

@Zopsss
Copy link
Member

Zopsss commentedJul 16, 2025
edited
Loading

We're duplicating much code here. Ideally, the whole check should be part of a single PR, so indentation functionality should be implemented in the original PR. But if you want, you can test indentation in this PR and then copy the commit to the main PR once it's basic functionality ( main PR's basic functionality ) is implemented.

Comment on lines +49 to +52
final String[] expectedViolation = {
"7:14: " + getCheckMessage(CLASS,
TextBlockGoogleStyleFormattingCheck.MSG_CLOSE_QUOTES_ERROR),
};
Copy link
Member

Choose a reason for hiding this comment

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

https://dev.azure.com/romanivanovjr/romanivanovjr/_build/results?buildId=30874&view=logs&j=c902ebb4-c9f8-5f09-4e17-ff78fbbc842e&t=9ca98c81-ff64-58f0-9d03-a23ac1c4a111&l=1530

Just add the required violation msg here to pass the test. Violation is correct because quotes aren't aligned properly.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

But if you want, you can test indentation in this PR

yes, this pr is for testing mainly.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Just add the required violation msg here to pass the test

that's the problem. not possible. multiple violations are not supported in Xpath... tests.
image

but we need the Check to give two violations#17284 (comment)

Copy link
Member

Choose a reason for hiding this comment

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

@romani can you tell why multiple violations are not supported in XPath tests?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ZopsssZopsssZopsss left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@mohitsatr@Zopsss

[8]ページ先頭

©2009-2025 Movatter.jp