can i set my $EDITOR environment variable to IDEA?
Answered
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.
Please sign in to leave a comment.
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
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.