Can you explain what each item in the Komodo profile directory relate to?
Komodo profile location
To find the location of the Komodo profile directory (also known as the Komodo application data directory), please see this faq:
http://community.activestate.com/faq/komodo-file-locations#appdata_dir
Directory structure
4.2/
prefs.xml
prefs.xmlc
Stores all of the user preferences for Komodo. If you
want to reset your Komodo preferences, the easiest way
is to simply remove these two files and Komodo will
rebuild them with the default values on next startup.
doc-state.xmlc
view-state.xmlc
These two files store document and view state, such
as MRU (most recently used) ordering, folding, bookmarks,
etc...
toolbox.kpf
Stores all information for your Komodo toolbox. You can copy these between profiles, or to another machine.
api-catalogs/
All API catalogs (codeintel cix files) that are added through
Komodo's "Code Intelligence" preferences get copied to this
directory.
project-templates/
Stores all known project templates, available when
using the "File->New->New Project From Template" menu.
templates/
Stores all known file/language templates, available when
using the "File->New->New File..." menu.
samples/
This is where Komodo stores the sample files and projects.
schemes/
This is where Komodo stores the user's custom keybindings
and color schemes.
host-<YOUR_HOSTNAME>/
Information and data used by Komodo whilst running,
including Komodo's log files.
autosave/
The Komodo auto-save feature will save information
relating to Komodo's unsaved files in this directory.
If you open a file that has a matching backup in this
directory, Komodo will offer to restore the backup.
codeintel/
Code intelligence information. When Komodo scans any
source code file (PHP, JS, Python, etc...) or API
catalogs, it saves this processed information (containing
the function and variable information, calltips etc...)
to a file in this directory.
If you Komodo code intelligence is not working, it can
often be fixed by shutting down Komodo, removing this
directory and then starting Komodo again, which will
then cause a rescan/recreate of the necessary code files.
XRE/
Details relating to the Mozilla base that Komodo is
using (extensions, dialog and window settings, remote
file encrypted password files, etc...).