3
4

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.

IntelliJでコピペしたパスからファイルを開く

Posted at

Eclipseでターミナルでコピペしたパスからファイルを開く
のIntelliJ版です。
(要はiTerm2とかでコピーしたパスをIDE上でサクっと開きたい方法です)

前提

Command + 3Create Command Line Launcher をしておいて
ideaというコマンドを/usr/local/binに置いておく。

方法

Terminalウィンドウからパスをコピペするだけ。その際開くコマンドはideaで。

idea src/main/java/.../Hoge.java

のような感じで叩くと、(既に開いているIDE上の)IntelliJのエディタが開く。

参考

intellij idea - IntellijIdea 13: use terminal window to open file in the IDE - Stack Overflow

3
4
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
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?