When I double-click on pycharm.sh, Ubuntu lets me choose between "Run in Terminal" and "Run". What is the difference between these options?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
For Pycharm CE 2018.3 and Ubuntu 18.04 with snap installation:
I get this command from KDE desktop launch icon.
Sorry for the language but I am a Spanish developer so I have my system in Spanish.
First, go to that folder which is containing pycharm.sh and open terminal from there. Then type
this will open pycharm.
bin folder contains pycharm.sh file.
To make it a bit more user-friendly: After you've unpacked it, go into the directory, and run
bin/pycharm.sh
. Once it opens, it either offers you to create a desktop entry, or if it doesn't, you can ask it to do so by going to the Tools menu and selecting Create Desktop Entry...Then close PyCharm, and in the future you can just click on the created menu entry. (or copy it onto your Desktop)
To answer the specifics between Run and Run in Terminal: It's essentially the same, but "Run in Terminal" actually opens a terminal window first and shows you console output of the program. Chances are you don't want that :)
(Unless you are trying to debug an application, you usually do not need to see the output of it.)
The question is already answered, Updating answer to add the PyCharm bin directory to $PATH var, so that pycharm editor can be opened from anywhere(path) in terminal.
Edit the bashrc file,
Add following line at the end of bashrc filenano .bashrc
Now you can open pycharm from anywhere in terminalexport PATH="<path-to-unpacked-pycharm-installation-directory>/bin:$PATH"
pycharm.sh