We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the formating is different than expected: make sure you are comparing with the same Eclipse version provide a code example (both from Eclipse and from IntelliJ) and settings files
If the formating is different than expected:
What steps will reproduce the issue?
Configuration file contains following setting:
The following test-code was not formatted corectly:
This only happens when the first line in constructor body contains a Mockito.when() method with parameters:
What is the expected result?
It seems that in the following code sample the formatting for the line with when is generally omitted:
when
current:
expected:
I noticed that when I remove the ending bracket of the class and put it back in, the formatting works correctly.
What happens instead?
Сonsider attaching a screenshot, screencast, or a code sample when it's hard to articulate the problem.
Paste information about IDE and OS (it can be copied from Help | About dialog). IntelliJ IDEA Ultimate 2023.1.3
Please use triple backticks ``` before and after the stacktrace block.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Configuration file contains following setting:
The following test-code was not formatted corectly:
This only happens when the first line in constructor body contains a Mockito.when() method with parameters:
It seems that in the following code sample the formatting for the line with
when
is generally omitted:current:
![image](https://private-user-images.githubusercontent.com/53392829/373560965-041f506e-eb2e-436b-8cd4-b46b0997907b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTM5NDQsIm5iZiI6MTczOTI5MzY0NCwicGF0aCI6Ii81MzM5MjgyOS8zNzM1NjA5NjUtMDQxZjUwNmUtZWIyZS00MzZiLThjZDQtYjQ2YjA5OTc5MDdiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE3MDcyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFlM2Q5Y2NkZGU5Zjk2ZmNjZDlhYTllZjNlODAzNWMxZTA4YmE5NzgyNmZhZGY1ZjFjMzYxNDAyZWJkZjg3ZmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.E0sKznhogFQvdxhL2efeSaIsG57vG5enPkB38ocTo-U)
expected:
![image](https://private-user-images.githubusercontent.com/53392829/373561054-8f747888-425d-4e60-9e57-6ba11bde552c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTM5NDQsIm5iZiI6MTczOTI5MzY0NCwicGF0aCI6Ii81MzM5MjgyOS8zNzM1NjEwNTQtOGY3NDc4ODgtNDI1ZC00ZTYwLTllNTctNmJhMTFiZGU1NTJjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE3MDcyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIwMWE0ODZjMWQ2NmQxZjVmNTRhZGQ0ZTI1ODY5ZDNhMGVjZGE5NDhiYzE1MmYwODFlNGFlMWY2NWRlZjJhMDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ojwi2zuPM7CVm92sMDjvAIavOEcCgONoH2cjBp3YSFc)
I noticed that when I remove the ending bracket of the class and put it back in, the formatting works correctly.
The text was updated successfully, but these errors were encountered: