- This topic has 5 replies, 3 voices, and was last updated 10 years, 6 months ago by support-tony.
-
AuthorPosts
-
John HamiltonParticipantSomething odd has happened to my Javadoc View. Used to work fine, now the text is white and the background is black and some of the HTML is not being formatted (eg, list is ok, table is not). I have no idea why: have I messed the HTML ? have I messed some hidden preference somehow ?
For example:/** * <p>This is a paragraph</p> * <ul> * <li>list item</li> * <li>list item</li> * </ul> * <br> * <table> * <tr><td>r1c1</td><td>r1c2</td></tr> * <tr><td>r2c1</td><td>r2c2</td></tr> * </table> */
produces the following in the Javadoc View pane:
This is a paragraph
– list item
– list item
r1c1r1c2 r2c1r2c2The syntax of the comments in the source view pane is correctly coloured, by the way. Ideas anyone ?
Version: 2013 SR1
Build id: 11.0.1-20130621Ubuntu 13.04
support-pradeepMemberhamiljf,
Sorry that you are seeing this issue.
Regarding the formatting, can you please try the workaround posted in this link ?
Regarding Javadoc view background color, you need to navigate to Window > Preferences > General > Appearance > Colors and Fonts > filter on Javadoc , select ‘Javadoc view background’ > click ‘Edit’ and pick the background color > Click Apply and Ok.
Regarding the foreground color, there seems to be no setting for this. Can you please try the workarounds mentioned in the below links –
http://askubuntu.com/questions/70599/how-to-change-tooltip-background-color-in-unity
http://ubuntu-user-tricks.blogspot.in/2012/09/3-things-to-do-after-installing-eclipse.htmlThis looks like an eclipse bug in ubuntu. Here is the eclipse bug link – https://bugs.eclipse.org/bugs/show_bug.cgi?id=368161
Let us know how the above solutions work for you.
John HamiltonParticipantThanks very much… I thought I’d suddenly lost the ability to write HTML.
The libwebkit fix worked fine (for info, I used the Unity Software Centre to find and install it).
I had spent at least half an hour looking for the set background preference, so thanks very much for pointing that out. I had wondered whether it was some sort of error indicator. Seems funny that Eclipse allows one to set the background but not the foreground. White on white is not really a good approach, so I’ve just left white on black. I don’t plan to change the definition of the theme: I’ll likely make the system unbootable.
support-pradeepMemberhamiljf,
Glad that you got it working.
Let us know if you see any issues in MyEclipse.
John HamiltonParticipantJust installed Ubuntu 14.04 and ME2014 and found I was getting black foreground on gray background (used to be white foreground on gray… worked fine). So I tried to set the background to white, using the standard menu tree as given above and found that I’d also changed the foreground (how?) to white. So was back to white on white. Anyhow, now changed the background to a restful green, so can read javadoc. But… what changed the foreground from white to black and then from black to white. The ways of computers are mysterious.
support-tonyKeymasterhamiljf,
Yes, mysterious indeed. I couldn’t replicate that issue at all. If you manage to do it again, please post here.
While I was looking at this, I discovered that the Javadoc hover help is governed by Ubuntu settings. The answers in this Ubuntu forum are helpful in changing those colors, if you’re interested (particularly the gnome color chooser app and the note about making the change just for eclipse).
Hopefully, all of this will be made easier one day! Sorry for the inconvenience.
-
AuthorPosts