can i set my $EDITOR environment variable to IDEA?

已回答

I would like to invoke intellij from the commandline interactively, without incurring a plugin/initialization penalty.

This would allow me to use intellij on the commandline as my default editor, and it would leave the file open only while I'm editing, closing when I'm finished, returning control to the commandline.

0

Hi!

It's possible to open files from command line.

Please check this article for details:

https://www.jetbrains.com/help/idea/2016.3/working-with-intellij-idea-features-from-command-line.html

0

See also the related request: https://youtrack.jetbrains.com/issue/IDEABKL-5939.

Starting/closing IDEA every time you want to edit a file would take a lot of time.

0

请先登录再写评论。