What's new in 4.0.2

Code Intelligence

  • Redesigned Code Intelligence system: CSS, JavaScript, Perl, PHP, Python, Ruby, Tcl and XML support have been re-implemented with a new code intelligence system, providing improvements in autocompletion, calltips, the code browser, and overall performance.
  • Go to Definition: A new option for quickly jumping to the definition of a code object (e.g. a variable, a subroutine, a module, etc.) under your cursor.
  • Schema-based XML Autocomplete and CallTips: Komodo now supports autocomplete and calltips support for XML and HTML based on DTD or RelaxNG Schema. SGML and XML Catalogs are supported.
  • API Catalogs: Autocompletion for several popular JavaScript libraries can be enabled in Preferences.
  • DOM Viewer: A new tab in the left pane shows the DOM structure of XML and HTML documents in a tree view. Double-clicking on a node in the DOM Viewer moves the cursor to the corresponding node in the document. Komodo IDE only
  • User-Defined Languages: Komodo 4 introduces a system for adding custom language support called UDL (User-Defined Languages) which allows Komodo to properly syntax-color multi-language files and templated files common in many web programming frameworks. Also included is a tool called Luddite which you can use to define custom language syntax-coloring and package those into Komodo extensions.
  • New languages: Support for Template-Toolkit, HTML-Mason, Smarty, Django, and Luddite has been added using UDL

Editing

  • Vi emulation: Modal keybindings which emulate the navigation, text insertion, visual selection and command-line modes of Vi and Vim. Custom commands can be implemented by adding Komodo macros to a Vi Commands Toolbox folder.
  • Configurable Background Syntax Checking: The frequency of background syntax checking is now configurable, improving editor responsiveness in large files.

HTTP InspectorKomodo IDE only

  • HTTP Inspector: An interface for examining HTTP requests and responses as they happen. It runs a local proxy which intercepts HTTP traffic and records each transaction for analysis. The Inspector can break on a request or response, which can then be edited and submitted in its modified form.

JavaScript DebuggingKomodo IDE only

  • JavaScript Debugging: Komodo now offers JavaScript debugging using the Firefox web browser and the JavaScript DBGP extension. With the extension enabled, loading JavaScript or triggering JavaScript controls in the browser window opens a debugging session in Komodo, which loads the relevant JavaScript code.
  • JavaScript Interactive Shell: An interactive shell for manipulating JavaScript code is available within JavaScript debugging sessions. This shell is similar in functionality to the other interactive shells in Komodo.

Projects

  • Live Folders: Komodo projects now offer Live Folders which display current filesystem contents. The previous folder behavior is still available; these folders are now referred to as "Virtual Folders" in the documentation. By default, new projects are created with Live Import, making the project behave as a Live Folder. Project-specific Directory Import preferences define which files and directories to include.
  • Project Settings: All project settings are now in the Project Properties dialog. This dialog box is now used for files, folders and projects, displaying the appropriate properties for each type.
  • Project Templates: Projects templates can be created and used when creating a new project.
  • Additional Project functionality, including:
    • Project based debugger preferences
    • Basic file management (Delete, Rename, Show in File Manager)
    • Project import from remote file systems
    • New File option

Other Improvements

  • SCC History: A new option has been added to the Source Control menu which displays the revision history of a file. You can compare (diff) two selected revisions from the list, or select one and compare it to the local copy. Komodo IDE only
  • SFTP and SCP: Komodo now supports access to remote files via SFTP and SCP. Saved password information for all remote servers is stored securely in Mozilla's native password manager.
  • Help Browser: Komodo now uses Mozilla's help browser for displaying Komodo help.
  • PHP "Zero Configuration": Automatic configuration for PHP debugging. Komodo IDE only

A list of additional improvements and the most important bug fixes can be found in the Release Notes.