首页 > 系统服务 > 详细

Mac下如何设置Eclipse默认浏览器为chrome

时间:2017-03-17 19:49:07      阅读:635      评论:0      收藏:0      [点我收藏+]

http://stackoverflow.com/questions/5322574/how-can-i-set-chrome-as-default-external-browser-in-eclipse-for-mac

这篇文章说得很好!

开始用得是这个老外的方法,但后来屡试不爽!

运行后没有反应,连safari都打不开了


技术分享

 

后来我在命令行下运行下面的命令可以打开,经过多次实验后放弃了这种方法

/usr/bin/open -a "/Applications/Google Chrome.app"  

换另外一种思路,就是设置chrome为系统默认的浏览器

The simplest way to get Eclipse to recognize Chrome as the default system browser is :

  1. Open Safari.
  2. Go to menu Safari > Preferences > General.
  3. Change ‘Default web browser‘ to Safari.
  4. Close the Preferences dialog.
  5. Re-open the Preferences dialog.
  6. Change ‘Default web browser‘ to Chrome.
  7. Close the Preferences dialog.

但这种貌似选项不对,因为safari下只能设置safari为默认的

后来找到Mac系统通用的选项,果然成功了!

技术分享

我Mac系统的版本是OS X  EI Captain  10.11.5

 

Mac下如何设置Eclipse默认浏览器为chrome

原文:http://www.cnblogs.com/goody9807/p/6567800.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!