LoginSignup
34
29

More than 5 years have passed since last update.

Eclipse 上からコマンドプロンプトを開く

Posted at

Windows の話ですが、Play の開発をするとき、コマンドプロンプトを開いてプロジェクトフォルダへ移動し、play コマンドを実行しなければなりません。
cmd を実行して cd cd cd とやっていくのは非常にめんどくさいですね。
Eclipse で開発している場合、外部ツールの起動という便利なものがあります。

Eclipseでコマンドプロンプトのウィンドウ(コンソール)を表示する

これによってクリック一つでプロジェクトフォルダをコマンドプロンプトで開けるようになります。
私は以下のように設定しています。

Location: C:\Windows\System32\cmd.exe
Arguments: /c start /d "${project_loc}"

この設定をしておくと、プロジェクトを選択した状態で外部ツールの起動ボタン外部ツールの起動.pngを押すと、プロジェクトフォルダにいる状態でコマンドプロンプトが開きます。

以下、私の設定画面です。

設定画面.png

以上です。ご参考まで。

34
29
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
34
29