How can I set Chrome as default external browser in Eclipse for Mac?

后端 未结 9 1982
醉话见心
醉话见心 2021-01-04 10:35

I think that question is self-explained :-)

When I browse to Application eclipse send me an error.

9条回答
  •  日久生厌
    2021-01-04 11:33

    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 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.
    

提交回复
热议问题