For a few months I’ve had a license for Komodo 4.x IDE. Generally I’ve found it to be nice and usable for most non-PHP tasks. For PHP I use Zend IDE.
One thing that’s always bothered me is all the added stuff in Komodo. I had no idea how it was used, why to use it, etc. It just seemed like useless fluff. The documentation isn’t exactly comprehensive either so I was always wondering if there’s something I was missing. It turns out I’ve been missing a lot so far. I have a feeling there’s even more out there.
1) How and where to create projects
I’ve always saved my project files in a directory called My Documents\My Project (yes I’m on Windows). One of the many things that vexed me was the fact that every time I created a new project it included all of the other projects. This may seem obvious to everyone but me but it’s probably better to add the project file in the project directory and include it in source control. That way you only get the one project file and you can keep track of it.
2) Project Templates
Project can be built from scratch or, if you do a lot of the same stuff or have a preferred directory layout, you can create a project from a project template. A good explanation of why you would want to use a project template and a basic template for a Django project is at the Komodo forums. This kind of thing can really save you time if you do a lot of sites. The template referenced here also creates some of the basic files you need to start a Django project.
3) The Toolbox is your friend Yet another black hole of functionality is the toolbox. To view the contents of the toolbox go to View->Tabs->Toolbox. Unless you’ve customized your TB there’s probably lots of Samples. The samples include URLS which you click and that will appear URL in a browser window, snippets which are interactive code chunks, run commands which help you do nifty things like start the Django server, sync the db and the model, macros which can be either javascript of python code which gets executed for the IDE and a few other things.
Most of these samples are mildly useful but it’s not until you watch the Ruby on Rails toolkit in action that you get an idea of how useful this stuff really can be. It takes some playing around with the options to get the commands and macros working optimally but it’s time well spent.
I’ve started creating my own Django tool box by copying and altering items in the Ruby on Rails tool kit that comes with Komodo 4.1. Feel free to download it and add to it. I’ll be adding things to it as I gain understanding of Django and Komodo.