Created on Sept. 19, 2012, 5:59 p.m. by Hevok & updated on Oct. 27, 2012, 12:29 a.m. by Hevok
PyCharm is an excellent editor/IDE (Interactive Development Environment) for Python and Django, hence also for Denigma.
¶
¶
Installing
¶
----------
¶
Download the most recent version of PyCharm
¶
[http://www.jetbrains.com/pycharm_/download/index. html].
¶
It includes a trial version.
¶
¶
Detar the archive, 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: http://www.jetbrains.com/pycharm/download/index.html
¶
¶
¶
Renaming classes, methods and variables
¶
---------------------------------------
¶
PyCharm automates renaming of objects at all places where they are used. Position the editor caret at any symbol and press </span><ins style="background:#e6ffe6;">
Shift+F6</span><ins style="background:#e6ffe6;">
(Refactor | Rename).
¶
Input the new name and confirm with </span><ins style="background:#e6ffe6;">
Enter</ins><span>
.
¶
¶
It is possible to browse all the places where the variable is used and press </span><ins style="background:#e6ffe6;">
Do Refactor</ins><span>
button to finish the renaming operation.
¶
¶
¶
Valid parameters
¶
----------------
¶
Placing the cursor between the parenthesis of a method call an pressing </span><ins style="background:#e6ffe6;">
Ctrl+P</ins><span>
brings up a list of valid parameters.
¶
¶
¶
Changing Style
¶
--------------
¶</ins><span>Ctrl+Backspace+Quote</span><ins style="background:#e6ffe6;">
allows to quickly change the coding highlighting style colour schema.
¶
¶
¶
Line Selection
¶
--------------
¶
If nothing is selected and then </span><ins style="background:#e6ffe6;">
Ctrl</del><span>+</span><ins style="background:#e6ffe6;">C</ins><span>
c` is pressed, the whole line gets selected.
Comment on This Data Unit