2011年11月19日土曜日

備忘録:Mac版EclipseでChromeを外部ブラウザに設定する方法

ちょっとハマったことがあったのでまたメモ。

Eclipseの外部ブラウザにGoogle Chromeが設定できなかったのですが、下のを見て解決しました。
主に(Shift+F2で)javadocを見るときに使います。

Is there a way to add Google Chrome as an external web browser in Flash Builder Standalone for Mac?
http://stackoverflow.com/questions/3304854/is-there-a-way-to-add-google-chrome-as-an-external-web-browser-in-flash-builder/4448041#4448041
You could create an executable here: /usr/local/bin/chrome with these contents:

#!/bin/sh
open -a 'Google Chrome' $1 &

And then ensure Chrome's Preferences settings for "Web Browser" are this for external web browser "Google Chrome":

Name: Google Chrome
Location: /usr/local/bin/chrome
Parameters: %URL%

画像付きだったのでこれを試しましたが、他の回答はよく見てません。

0 件のコメント:

コメントを投稿