Friday, July 3, 2015

Pycharm for your IDA development

Download it here https://www.jetbrains.com/pycharm/download/

Here's some ghetto autocomplete:
Create a new project and throw the following python files from your IDADir/python into it
idaapi.py
idautils.py
idc.py

Create your new script and type in any of these:
idaapi.
press ctrl-spacebar

idautils.
press ctrl-spacebar

idc.
press ctrl-spacebar

And there you go.  Let the IDE work for you.

Also, if you want to get code flow, you can hold down ctrl and left click into methods.

There's also Version control.  So setup your git and version your code.
This makes development super easy.

-----------------
Another nice thing is the alt-enter hotkey.  If you're missing imports for a particular class, it will help auto import things for you.

I spent many years coding in eclipse because I was a Java Software Engineer.  Transitioning to this was easy because they maintained all the key schemes for these types of developers like me.  Being able to quickly get all references with ctrl-G and looking up methods and objects within a file with ctrl-O is very handy and will help you push out code faster.

Refactoring is painless with alt-shift-R and walking through the menus.

-----------------
Refer to http://djmanilaice.blogspot.com/2015/07/learning-pyside-with-qt-designer-on.html to setup auto complete for pyside.


No comments:

Post a Comment