3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Mac の Eclipse で複数のワークスペースを開く

Posted at

やりたいこと

macOS で Eclipse を複数開きたい。

個人的には作業毎にワークスペースを分けたい派なのでどうにかできないものか試行錯誤。
意外と簡単にできることが判明。

あまり需要ないかもしれないですが、同じところでハマる人向けに。

方法

open -n /Applications/Eclipse.app

open コマンドに「別インスタンスで開く」というオプションがあるんですね。

$> man open
...
-n  Open a new instance of the application(s) even if one is already running.

常に -n オプションを付けても問題はないので、エイリアスを登録しておけばターミナルから起動可能です。

alias eclipse='open -n /Applications/Eclipse.app'

確認環境

macOS 10.14.2

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?