Eclipse在Ubuntu上格式化javadoc工具提示非常差 [英] Eclipse is formatting javadoc tooltips very poorly on Ubuntu

查看:147
本文介绍了Eclipse在Ubuntu上格式化javadoc工具提示非常差的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows上一直使用Eclipse,最近开始在Ubuntu上使用它。



我的问题是,Javadoc工具主要是未格式化,例如< code> 标签,链接等不起作用。只有线条小孩由 b br pre 标签加上大胆似乎呈现。 ( pre 不要更改字体)。看到下面的第一个例子。



有没有可以做的调整,得到像第二个图像?



额外:对颜色的修复,也将是真棒,但不是那么重要。



谢谢。






现在我看到:



我想看到什么



Soruce: http://codeblessyou.com/wp-content/uploads/2011/07/2011-07-01_115631.jpg



解决方案

与工具提示中的HTML呈现相同的问题。经过一些解决之后,我得到了解决方案:



从官方Ubuntu存储库安装libwebkitgtk-1.0-0。它被eclipse(和很可能的其他GTK应用程序)用于呈现HTML,但是没有预先安装在Kubuntu上,也没有在eclipse软件包中列为依赖。


I've been using Eclipse on Windows a lot, and recently started using it on Ubuntu for work.

My problem is, that the Javadoc tool til mostly is unformatted, E.g. <code> tags, links, etc. have no effect. Only line chages by b, br or ,pre tags plus bold seems to be rendered. (pre don't change font.). See the first example below.

Are there any tweaks I can do, to get something like the second image?

Extra: A fix to the colors, would be also be awesome, but not as important.

Thanks.


What I see now:

What I'll like to see

Soruce: http://codeblessyou.com/wp-content/uploads/2011/07/2011-07-01_115631.jpg

解决方案

Got the same problem with the rendering of HTML inside the tooltips. After some fiddling around I got the solution:

Install libwebkitgtk-1.0-0 from the official Ubuntu repositories. It'S used by eclipse (and most likely other GTK applications) to render the HTML, but neither pre-installed on Kubuntu nor listed as a dependency in the eclipse packages.

这篇关于Eclipse在Ubuntu上格式化javadoc工具提示非常差的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆