facebook

Javadoc View Appearance

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #343920 Reply

    John Hamilton
    Participant

    Something 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 r2c1r2c2

    The 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-20130621

    Ubuntu 13.04

    #343930 Reply

    hamiljf,

    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.html

    This 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.

    #343940 Reply

    John Hamilton
    Participant

    Thanks 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.

    #343961 Reply

    hamiljf,

    Glad that you got it working.
    Let us know if you see any issues in MyEclipse.

    #349169 Reply

    John Hamilton
    Participant

    Just 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.

    #349188 Reply

    support-tony
    Keymaster

    hamiljf,

    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.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Javadoc View Appearance

You must be logged in to post in the forum log in