X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=imagesqueeze.git;a=blobdiff_plain;f=tools%2Fopen%20with%20IntelliJ%20IDEA;fp=tools%2Fopen%20with%20IntelliJ%20IDEA;h=de9bae5d4c78806015bc9ea8c9df2117dee32022;hp=b8baee296b9b1dabc7c2183dc8978722c0ea6700;hb=b9500c854be7d64037f98daf3b03289f4fb1030b;hpb=3047857d377b615547392605aa2b7c5d0fca57d0 diff --git a/tools/open with IntelliJ IDEA b/tools/open with IntelliJ IDEA index b8baee2..de9bae5 100755 --- a/tools/open with IntelliJ IDEA +++ b/tools/open with IntelliJ IDEA @@ -1,6 +1,18 @@ #!/bin/bash -cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -e "'$0' T"; exit; fi; +# +# This is a helper bash script that starts IntelliJ with the current project. +# Script is written is such a way that you can simply click on it in file +# navigator to run it. +# +# +# Script assumes: +# +# + GNU operating system +# + IntelliJ is installed and commandline launcher "idea" is enabled. +# +cd "${0%/*}" cd .. -idea . + +setsid idea . &>/dev/null