-
-
Notifications
You must be signed in to change notification settings - Fork 119
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comment line length gets handle differently when limit is in the middle of a word #226
Comments
Where? In eclipse? It works fine for me, equally in both IDEs. |
I am having the same issue, in javadoc of Intellij. If the column limit is in the middle of a word, Eclipse will wrap it to the next line while Intellij will keep it on the same line and wrap on the end of word. |
I have the same problem. Is this an Issue with IntelliJ viewing the line limit setting different than eclipse or can this be fixed? IntelliJ IDEA 2023.3.2 |
please post your Eclipse profile config |
You mean the eclipse formatter config right? |
Hello, we are experiencing this problem as well. I'm not sure if we had this problem before but we bulk reformatted some repositories and identical formatting rules in Eclipse and IDEA (with Eclipse Code Formatter plugin) result in a huge count of diffs because of this problem. Don't know if something changed in Eclipse or your plugin but right now we don't know how to deal with it. Thank you, |
Eclipse formatter itself returns the wrong result when called by me. Eclipse IDE must have some extra handling.., |
Set a comment line limit to 90
Write a comment where the last word starts before the 90 limits end (83) ends after the limit (93)
Format file
Word still on the same line
Like in eclipse the word thats in the middle of the limit still gets wrapped (but if its one char over the limit its stays one the line because its displays by one but the limit technically starts by 0)
If the limit is in the middle of word it gets ignored
IDEA 2021.2 RC
macOS 11.5.1
eclipse 2021-06 (4.20.0)
Eclipse Code Formatter 20.8.203.000.0-Eclipse_2020-06-JavaOnly
The text was updated successfully, but these errors were encountered: