How to show long lines in an Eclipse IDE

I have a text file containing long and short lines, and I can open it in Eclipse. But it is strange that I cannot see long lines explicitly; they are displayed as empty. Only short lines are shown. If I put the cursor in one of the long lines, then click "End" to go to the end of this line, it goes to a very distant column; in comparison, if I do the same for short lines or really empty lines, it stops in the right places. So, in that sense, the Eclipse IDE tells me that a line that appears as empty contains a lot of things. But why doesn't he show it?

Has anyone experienced this problem too?

+4
source share
1 answer

Try to run the program on the command line using the appropriate JAR file. If it works on the command line (or terminal), ignore the error, since it is just an error with the way Eclipse displays the lines. If it is stored in any prompt, you know that this is a mistake with the way you process the string.

0
source

Source: https://habr.com/ru/post/1393636/


All Articles