简体   繁体   English

我在哪里可以找到 Eclipse 的 javadoc 视图源代码?

[英]Where can i find javadoc view source of Eclipse?

I have to render an html file in a swt view like javadoc view of Eclipse How can i do ?我必须在 swt 视图中渲染一个 html 文件,比如 Eclipse 的 javadoc 视图,我该怎么做? Where can i find the source of javadoc view so i can take a suggestion ?我在哪里可以找到 javadoc 视图的来源以便我提出建议?

视图

What you show is the Javadoc text hover for the Java editor.您显示的是 Java 编辑器的 Javadoc 文本悬停。 This class is org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover in the org.eclipse.jdt.ui plug-in.这个类就是org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover插件中的org.eclipse.jdt.ui Note that this is an internal class so it should not be used directly.请注意,这是一个内部类,因此不应直接使用它。 This code is very heavily integrated with Eclipse JDT using it is going to take a lot of work.这段代码与 Eclipse JDT 高度集成,使用它需要做很多工作。

The Eclipse GIT repository for that plug-in is here该插件的 Eclipse GIT 存储库在此处

You can also view the source in Eclipse by installing the 'Eclipse SDK'.您还可以通过安装“Eclipse SDK”在 Eclipse 中查看源代码。 You can then open the Preferences and go to 'Plug-in Development' Checking the 'Include all plug-ins from target in Java search' will make the source code available in dialogs such as 'Navigate > Open Type'.然后,您可以打开首选项并转到“插件开发”。选中“在 Java 搜索中包含目标中的所有插件”将使源代码在诸如“导航 > 打开类型”等对话框中可用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM