如何在 Chrome 中运行 Eclipse 的动态 Web 项目?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/22975718/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 22:03:04  来源:igfitidea点击:

How to run dynamic web projects of Eclipse in Chrome?

eclipsegoogle-chromewebeclipse-plugin

提问by JAN

Before I deleted my previous version of Eclipse Kepler, when I hit Ctrl+F11in Eclipse, while using Dynamic Web Projects, Chrome opened a tab of the project .

在我删除之前版本的 Eclipse Kepler 之前,当我在 Eclipse 中点击Ctrl+F11时,同时使用动态 Web 项目,Chrome 打开了项目的一个选项卡。

However now when I hit Ctrl+F11, a tab inside Eclipse is opened.

但是现在当我点击Ctrl+ 时F11,Eclipse 中的一个选项卡被打开。

How can I set Eclipse to open a tab in Chrome when running Dynamic Web Projects?

运行动态 Web 项目时,如何将 Eclipse 设置为在 Chrome 中打开选项卡?

回答by Sam Su

Go to Window -> Preferences -> General -> Web Browser:

前往 Window -> Preferences -> General -> Web Browser

  1. first make sure that you are using external web browser
  2. then add or choose Chrome to make it default.
  1. 首先确保您使用的是外部网络浏览器
  2. 然后添加或选择 Chrome 以使其成为默认值

enter image description here

在此处输入图片说明

回答by Njena

Go to windows 
-> choose  Preference 
-> Choose General 
-> WebBrowser 
-> it open an external Dilouge page choose there  Use External Web Browser 
-> then choose chrome/Firefox/Internet Explore

回答by Minh Manh

you can select option windown > preference > web browser > Use extenal web brower > Chrome

您可以选择选项窗口 > 首选项 > 网络浏览器 > 使用外部网络浏览器 > Chrome

enter image description here

在此处输入图片说明

Hope this can help you!

希望这可以帮到你!