Using Firefox in Eclipse instead of IE(在 Eclipse 中使用 Firefox 而不是 IE)
问题描述
在 Eclipse 中,是否可以使用 Firefox 作为 Eclipse 的内部 Web 浏览器而不是 Internet Explorer.
In Eclipse, is it possible to use Firefox as Eclipse's internal Web browser instead of Internet Explorer.
我是一名在 Windows 中使用 Eclipse 的 Web 开发人员.
I am a Web developer using Eclipse in Windows.
谢谢!
推荐答案
内部 Web 浏览器使用的 SWT Browser 小部件为其 Web 渲染技术选择平台默认值.所以对于 Windows 来说就是 MSHTML COM 组件(IE 渲染器).对于 Linux 是 Mozilla(Webkit for 3.7 可用)和 Mac,WebKit(Safari).但是,有像 MyEclipse 这样的第三方插件确实嵌入了 mozilla 运行时 (XULRunner),它们确实使用 Mozilla (Gecko) 渲染器作为浏览器.
因此,要回答您的问题,无法在 Windows 上使用 Firefox 作为内部 Web 浏览器,但是,您可以为 Eclipse(MyEclipse、JBoss 工具等)安装嵌入 Xulrunner 二进制文件的 3rd-party 插件,这些插件将允许嵌入 mozilla 渲染器作为内部 Eclipse 浏览器使用的技术.请注意,这可能需要使用第 3 方 Web 浏览器小部件而不是标准 Eclipse 平台小部件,但那些第 3 方工具通常提供工具栏操作等.
The SWT Browser widget that is uesd by the internal web browser chooses the platform default for its web rendering technology. So for Windows that is the MSHTML COM component (IE renderer). For Linux that is Mozilla (Webkit for 3.7 is available) and on Mac, WebKit(Safari). However, there are third party plugins like MyEclipse that do embed a mozilla runtime (XULRunner) that do use the Mozilla (Gecko) renderer for a browser.
So to answer your question there is no way to use Firefox as internal web browser on windows, however, you can install 3rd-party plugins for Eclipse (MyEclipse, JBoss tools, etc) that embed Xulrunner binaries that will allow for embedding mozilla renderer as the technology used by an internal Eclipse browser. Note, this may require that use the 3rd-party web browser widget instead of the standard eclipse platform one, but those 3rd party tools usually provide a toolbar action, etc.
这篇关于在 Eclipse 中使用 Firefox 而不是 IE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 Eclipse 中使用 Firefox 而不是 IE


基础教程推荐
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01
- 降序排序:Java Map 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01