Translations:
- Russian - provided by @Defman21
Installation Folder
The default location varies by platform, and the name of the directory corresponds to the version of Komodo you are running (“IDE” or “Edit” plus the version number - e.g. “Komodo IDE 8”):
- Windows
C:\Program Files\ActiveState Komodo [IDE|Edit] <version>\
- Linux
/opt/Komodo-[IDE|Edit]-<version>/
- OS X
/Applications/Komodo-[IDE|Edit]-<version>.app
Profile Folder
Komodo stores preferences, macros, templates, keybinding schemes and other settings in a user-specific directory called the user data directory. The name and location of this directory varies depending on the operating system and Komodo version:
- Windows Vista, Windows 7, Windows 8 or newer
C:\Users\<username>\AppData\Local\ActiveState\Komodo[IDE|Edit]\<version>
- Windows XP or older
C:\Documents and Settings\<username>\Local Settings\Application Data\ActiveState\Komodo[IDE|Edit]\<version>
- Linux
/home/<username>/.komodo[ide|edit]/<version>
- Mac OS X
/Users/<username>/Library/Application Support/Komodo[IDE|Edit]/<version>
File Structure
**prefs.xml**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.
This file stores the individual file preferences, set
through the Edit - Current File Preferences...
menu. Things
like the current file position, indentation settings,
encoding, bookmarks, folding and eol settings.
This file stores view state, such as the MRU (most
recently used) ordering, recently opened files, tab
ordering position, etc…
Stores information about your Komodo toolbox. You can copy
these between profiles, or to another machine.
The Komodo error log, whenever you run into issues and wish
to report them be sure to include this file.
This file is purged every time you start Komodo.
**tools/**Contains JSON files for each of the tools in your toolbox.
**apicatalogs/**All API catalogs (codeintel cix
files) that are added through
Komodo’s “Code Intelligence” preferences get copied to this
directory.
Stores all known project templates, available when
using the Project - New From Template
menu.
Stores all known file/language templates, available when
using the `File - New - File from Template…" menu.
This is where Komodo stores the sample files and projects.
**schemes/**This is where Komodo stores the user’s custom keybindings
and color schemes.
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.
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.
Details relating to the Mozilla base that Komodo is
using (extensions, dialog and window settings, remote
file encrypted password files, etc…).
Overriding The Profile Folder Location
The location of the profile directory can be (temporarily) overridden using the KOMODO_USERDATADIR environment variable. This is useful in case you want to:
- Run multiple instances of Komodo
- Run Komodo on eg. a USB stick
- Test whether an issue you’re having persists on a clean profile
To set this environment variable you need to open your terminal or command prompt and execute
- Windows:
set KOMODO_USERDATADIR=%TEMP%\komodo
- Mac/Linux:
export KOMODO_USERDATADIR=/tmp/komodo
Then still from your terminal / command prompt start Komodo:
- Windows:
START <installation-folder>\ko.exe
- Mac:
open /Applications/Komodo-[IDE|Edit]-<version>.app
- Linux:
/opt/Komodo-[IDE|Edit]-<version>/komodo
Deleting The Profile Folder
If you ever wish to completely reset your Komodo settings you can do so by shutting down Komodo and deleting your profile folder. Komodo will re-generate your profile folder the next time you start it. We recommend that you always make a backup of your profile folder before deleting it.
Log Files
There are two files named “pystderr.log” and “pystdout.log” within your Komodo profile folder. These files are extremely useful for troubleshooting problems with Komodo and are often requested when logging bug reports.
Note: You can use the Help > Trouble Shooting > View log file
menu item to quickly examine Komodo’s main log file (“pystderr.log”).