Eclipse Javadoc not rendering correctly

ぐ巨炮叔叔 提交于 2019-12-04 14:09:34

问题


I'm currently trying to set up my working environment in Ubuntu 12.10, and I'm currently lost with the styling of Javadoc in Eclipse. The tooltips, and the Javadoc shown in the Javadoc perspective are not rendering the HTML correctly at all. This is what it looks like on my Windows 7 installation of Eclipse:

On Ubuntu, it looks completely broken and is not rendering anything correctly, which gets especially distracting when there is lots of text, code or other things included into the Javadoc:

Has anyone experienced this kind of issue before or might be able to help otherwise? Note: I also changed my gtkrc up a bit to change the tooltip color, as it used to be just really dark text on black background, but that should have only changed the general font and background color, not the rendering of HTML.

I just found this very related question: Eclipse is formatting javadoc tooltips very poorly on Ubuntu

However, noone there was able to answer the person asking the question


回答1:


Had the same problem- Solution is easy: Install the libwebkitgtk-1.0-0 package available in the default ubuntu repositories.

(If you're not using Ubuntu find out how that component is called on your distro and how to install it)



来源:https://stackoverflow.com/questions/14491296/eclipse-javadoc-not-rendering-correctly

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!