Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

incompatibilty of reformat and limited line length.

$
0
0

There is a feature that tells Intellij to try keep Java source code to

line lengths limited to some maximum. Sorry I don't recall where in

the menu warren you turn it on.

 

When you reformat it reflows to conform.

 

The catch is, sometimes there not sufficient natural line breaks.

For a unrealistic  example a string of xxs 150 long, either enclosed

in quotes or not.

 

Reformat then goes nuts, and inserts scores of blank lines or ""+

lines rather than just giving up and leaving the line alone.

 

I hope you can reproduce this without requiring a formal bug

submission.  I don't like submitting bugs until I know others see them

too.  I have an unusually strong Murphy field.

 

--

Roedy Green Canadian Mind Products http://mindprod.com

When discusing on the Internet, anything you say is presumed to contradict

someone else. If you are not, it is wise to explicitly state that you agree

with or are elaborating on what someone else said. You can do this

efficiently by starting your post with the word "Further" or "Also".

 

 

 


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>