Open files from console

Is there a way to open files into current CLion instance from the console?

0
1 comment

Yes something like that:

sh /path/to/clion/bin/clion.sh file.cpp

also you can create alias for clion, for example in linux:

echo "alias clion='sh /path/to/clion/bin/clion.sh'" >> ~/.bash_aliases && source ~/.bash_aliases

and then just execute:

clion file.cpp
0

Please sign in to leave a comment.