Shortcut to Opening project from the Command Line..!

Vrushali Raut
2 min readAug 20, 2018

One thing we spend a lot of time doing in class is opening new files in our .idea Editor.

My Idea Editor of choice is IntelliJ IDEA for Java language and RubyMine for ruby language. With that in mind, I setup a shortcut to open my files from the command line in IntelliJ and RubyMine. This article will help to setup this in easily in both idea.

Open java project in IntelliJ IDEA

First go to the Intellije, Create command line launcher by going to Tools in IntelliJ IDEA and clicking on ‘Create Command-Line Launcher’

2)Now Go to terminal, give path or your project and write “idea .” to open your project.

Example :-

➜ Documents cd BootCamp/Java/GameOfLife
➜ GameOfLife git:(master) idea .

All set for Java, It will open IntelliJ IDEA for GameOfLife Project.

Open Ruby project in RubyMine idea

First go to the RubyMine idea, Create command line launcher by going to Tools and clicking on ‘Create Command-Line Launcher’

2)Now Go to terminal, give path or your project and write “mine . ”

Example :-

➜ Documents cd BootCamp/Ruby/GameOfLife
➜ GameOfLife git:(master) mine .

All set for Ruby, It will open RubyMine for GameOfLife Project.

If you have found this useful, then please consider recommending and sharing it with your friends and other developers. Click the 💚 below to show your support and share it with other fellow Medium users. stay tuned..!

--

--

Vrushali Raut

I’m a Engineer. Ex Spenmo, Gojek, Leftshift . I love to share my experiments, learnings via Blogs. https://twitter.com/vrushaliSRaut