Saturday, 10 November 2012

Add Open terminal here to IntelliJ

Tip of the day, add "Open terminal here" to context menu in IntelliJ (11.1) running on Ubuntu (12).

If like me, your missing the option to open a terminal from the context menu, this can be added quickly by adding an external tool;

  1. File > Settings > External tools
  2. Add, opens an add/edit tool form
  3. Put in a suitable name, deselect the Synchron... and Open console checkboxes
  4. Select where you want it to show up in the 'Show in' section
  5. In the 'Tool Settings' section, add "gnome-terminal" as the Program and "$FileDir$" as the Working Directory
  6. Click OK 
That's it, you should now have the option in your right click context menu. Simples.

In Mac OS it's a little different, try putting "open" as the Program and $FileDir$ -a Terminal as the Parameters, worked for me on OSx 10.9.2



No comments:

Post a Comment

 

Note: the opinions on this page don't represent that of my employer in anyway. And, actually only vaguely represent my opinions on the date of publication. (Unlike Ms T, I am very much for turning)