created on Sept. 19, 2012, 5:59 p.m. by Hevok & updated on Feb. 7, 2013, 4:14 p.m. by Hevok
PyCharm is an excellent editor/IDE (Interactive Development Environment) for Python and Django, hence also for Denigma.
First of all, install the prerequisite Java JDK [http://www.denigma.de/links/836]. For this add the required PPA:
sudo add-apt-repository ppa:webupd8team/java
Then update your system and install Java:
sudo apt-get update && sudo apt-get install oracle-java8-installer
TO verify that Java is installed to the following check:
java -version
Next, download the most recent version of PyCharm [http://www.jetbrains.com/pycharm/download/index.html]. It includes a trial version.
Detar the archive, rename it to simply pycharm, move it another place where (if you like) and cd in. There you run:
bash bin/pycharm.sh
Confirm with Enter and it should be done.
PyCharm allows to jump to class/method/function definitions (Ctrl+Click on a symbol). This is extremely useful to understand the source code.
PyCharm automates renaming of objects at all places where they are used. Position the editor caret at any symbol and press Shift+F6
(Refactor | Rename).
Input the new name and confirm with Enter
.
It is possible to browse all the places where the variable is used and press Do Refactor
button to finish the renaming operation.
Placing the cursor between the parenthesis of a method call an pressing Ctrl+P
brings up a list of valid parameters.
Ctrl+Backspace+Quote
allows to quickly change the coding highlighting style colour schema.
If nothing is selected and then Ctrl+C
is pressed, the whole line gets selected.
Ctrl+Q
(Quick Documentation) can be used to fetch and display the documentation of function.
With Alt+Shift+C
recent changes can be quickly reviewed.
Comment on This Data Unit