1
0

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 3 years have passed since last update.

IntellijのLightEdit Modeを使ってみる

Last updated at Posted at 2020-04-10

2020.01がリリースされましたね。
新機能のひとつのLightEdit Modeを使うまでをメモ。

ideaのコマンドで実行できるようにするために、PATH内の任意の場所にシェルスクリプトを作成する。
公式の例では下記に作るように記載してある。
/usr/local/bin/idea

# !/bin/sh

open -na "IntelliJ IDEA.app" --args "$@"

権限付与も忘れずに。

chmod +x /usr/local/bin/idea

あとは適当なファイルに対しこうしてあげると対象のファイルがLightEdit Modeで開きます。

idea /path/to/yourfile

Toolboxを使っている場合はGUIから設定できるよ

image.png

感想

開くまでのスピードはVSCodeには及ばないが、同じ感覚で使えて便利かな。
開くだけではなく、サブコマンドも用意されているので使ってみるのも良さそう。idea diff file1 file2とか

公式ドキュメント

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?