如何在 Eclipse for Mac 中将 Chrome 设置为默认外部浏览器? [英] How can I set Chrome as default external browser in Eclipse for Mac?

查看:22
本文介绍了如何在 Eclipse for Mac 中将 Chrome 设置为默认外部浏览器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为这个问题不言自明:-)

I think that question is self-explained :-)

当我浏览到应用程序时,eclipse 向我发送一个错误.

When I browse to Application eclipse send me an error.

推荐答案

rubdottocom 几乎搞定了.问题是,路径包含空格.如果你写一个新的shell脚本,内容如下:

rubdottocom almost got it. The problem is, that the path contains spaces. If you write a new shell script with the following content:

'/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' $1

Eclipse 可以使用它启动一个新的 Chrome 实例.遗憾的是,这种方式无法在已运行的实例中打开新选项卡,因为脚本退出并显示以下错误消息:

Eclipse can launch a new Chrome instance with it. Sadly, this way it is not possible to open a new tab in an already running instance, as the script exits with the following error message:

[21043:2307:292361872340725:ERROR:process_singleton_mac.cc(102)]
    Unable to obtain profile lock.

这篇关于如何在 Eclipse for Mac 中将 Chrome 设置为默认外部浏览器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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