Opening Pycharm from the terminal using the current path

If you give the atom command. in the terminal, the Atom editor opens the current folder, and I'm ready for encoding.

I am trying to do the same with Pycharm using Ubuntu: get the current directory and open it with Pycharm as a project.

Is there a way to achieve this by setting the alias bash?

+10
source share
3 answers

PyCharm can be launched using the command line tool charm(which can be installed the first time you start with PyCharm).

charm .

+16
source

This works for me:

alias atom_pycharm='~/pycharm/bin/pycharm.sh .'

, , - locate pycharm.sh .

bash: , &, stdout/stderr, ..

+2

This worked for me:

pycharm-community .

Hope this helps. thank

0
source

Source: https://habr.com/ru/post/1654625/


All Articles