Neon ignores "Print margin column" setting in Java editor [message #1737570] |
Sun, 10 July 2016 10:23 |
|
I go to "Windows / Preferences / General / Editors / Text editors / Show print margin / Print margin column" and the value shown is 100, but in the Java editor the vertical line showing the margin is always at column 120 instead of 100.
No matter what number I enter instead of 100, the vertical line in the editor doesn't move, it stays at column 120. I tried 50, 80 and 100.
But if I uncheck its parent option ("Show print margin"), the vertical line in the editor does disappear, just like it's supposed to. So I'm in the right preference page.
When I check "Show print margin" again, the vertical line in the editor does reappear; just it won't move away from column 120.
This was working perfectly with the previous version (Mars); changing that number would make the vertical line move and reflect the new value exactly.
When I installed Neon I have let it convert my workspace as usual and everything went very smooth as usual , basically zero time used for the transition to Neon. Just this little thing that I don't know how to solve (for me it's more important than it might sound).
BTW it has nothing to do with actual printing, I just use the print margin in the editor to keep my source code within a common width (100).
Any info or comment would help.
Environment:
"Eclipse IDE for Java Developers", Version: Neon Release (4.6.0), Build id: 20160613-1800.
Always up to date.
Only extra plugin I installed: FindBugs and visualswing4eclipse.
Windows 7 Professional, Service Pack 1.
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
|
|
|
Re: Neon ignores "Print margin column" setting in Java editor [message #1737728 is a reply to message #1737570] |
Tue, 12 July 2016 10:01 |
|
On a different computer, with the same Eclipse version and build id but with many more plugins / extensions installed, the print margin doesn't show at all in the Java editor, no matter how I set the above mentioned preferences. But interestingly, in the two editors of the two plugins / extensions I checked, namely "Tapestry5 WebTools Editors Extensions (experimental) 2.13.4" to edit Tapestry .tml templates and "Minimalist Gradle Editor 1.0.2.201509250223 org.nodeclipse.enide.editors.gradle.feature.feature.group Nodeclipse/Enide", the print margin does show up normally and it responds normally to changing the "Print margin column" and "Show print margin" preferences.
So the problem seems to be specific to the Java editor. Probably even on the first computer it's so (I will check that as soon as I am on it).
|
|
|
|
|
|
|
Re: Neon ignores "Print margin column" setting in Java editor [message #1749612 is a reply to message #1749591] |
Thu, 08 December 2016 16:14 |
|
I didn't know that parameter. But I think it only applies to the preview window shown in that option page.
However I just realized that I no longer see the vertical line anywhere at all in the Java editor, although the setting I mentioned at the top of my question is still in place ("Show print margin" is selected and the value of "Print margin column" is ignored), so at least I should see the print margin like I did when I asked the question. Instead I don't see it anywhere. It might have happened with some update, maybe the one to Neon.1, I don't know.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.60510 seconds