If you give in the command "atom ." in the terminal, the Atom editor opens the current folder and I am ready to code.
I am trying to achieve the same with Pycharm using Ubuntu: get the current directory and open it with Pycharm as a project.
Is there way to achieve this by setting a bash alias?
You can find the executable for running PyCharm in the installation directory under bin. To use this executable as the command-line launcher, add it to your system PATH as described in Command-line interface. By default, PyCharm does not provide a command-line launcher.
From the main menu, select View | Tool Windows | Terminal or press Alt+F12 .
open -na "PyCharm CE.app" .
worked for me in MacOS & PyCharm Community edition
PyCharm can be launched using the charm
command line tool (which can be installed while getting started with PyCharm the first time).
charm .
This worked for me:
pycharm-community .
This works for me:
alias atom_pycharm='~/pycharm/bin/pycharm.sh .'
Maybe you installed it to a different path, though - locate
your pycharm.sh
file and modify accordingly.
You have the usual bash tricks: if you want to run in the background, append an &
, redirect stdout/stderr where you want etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With