Getting StartedGetting started with Komodo is as easy as opening a file and beginning to edit. However, to ensure that you don't miss any of Komodo's features, take a look at the components of the Komodo workspace described below, or take a visual tour of the Komodo workspace. Next, Get Started Fast with Komodo's Sample Project. Use the Sample Project to familiarize yourself with Komodo's project management, editing features and debugging functionality. The Komodo WorkspaceThe Start PageKomodo's Start Page is displayed by default when Komodo is first opened, and whenever there are no files open in the Editor Pane. The Start Page provides quick access to recently-opened files and projects. By default, the Start Page also displays links to tutorials and Komodo's Sample Project, as well as the Tip of the Day. Select Edit|Preferences|Appearance to change what is displayed on the Start Page. To configure the number of recent files and projects displayed on the Start Page, use the Appearance page of Komodo Preferences. To clear the names of selected files or projects from the Start Page, check the boxes next to the filenames, then click Remove. To clear the complete list of files or projects, click the "X" button at the top right of each list. ![]() Title Bar
The title bar displays the path and name of the active file. During debugging, the title bar indicates the state of the debugger. For more information about using the debugger, see Debugging Programs. ![]() Menus
The Komodo drop-down menus include File, Edit, View, Debug, Project, Toolbox, Tools, Window, and Help. The functions accessed from each menu are described in detail in the relevant section of the User Guide. For example, the items accessed from the Debug menu are described in the Debugging Programs section of the User Guide. ![]() Context Menus
Komodo displays different context menus when you right-click, depending the location of the mouse pointer. Use the left mouse button to select items from context menus.
![]() Toolbars
The Standard Toolbar below the Menu bar provides quick access to common editing functions. In addition, the Preview in Browser command, the Rx Toolkit, and the Visual Package Manager are available from this toolbar. You can also launch the Komodo User Guide by clicking the question mark button. The Debug Toolbar below the Standard Toolbar provides quick access to common debugging functions, such as Step In and Step Over. For more information about debugging programs, see Debugging Programs. To hide or show toolbars, or to hide or show button text, do one of the following:
![]() Projects/Toolbox Pane
The top left pane of the Komodo workspace contains the Project Manager and the Toolbox. Projects TabThe Projects tab displays projects that are currently open. Hide or display the list of files associated with the project by clicking the symbol to the left of the project name. When the symbol is displayed as plus sign, the file display is collapsed. When the symbol is displayed as a minus sign, the file display is expanded. To display the Projects tab, click on the tab itself, or press Ctrl+Shift+P. Related Topics: Toolbox TabThe Toolbox tab is used to manage and store a variety of items for easy access. For example, you can place frequently-used files, code snippets, commands, and URLs in the Toolbox. You can add items to the Toolbox, as well as to folders within the Toolbox. You can import items into the Toolbox and export items as Komodo project files. Items that can be added to the Toolbox are displayed with associated icons for easy identification. To display the Toolbox tab, click on the tab itself, or press Ctrl+Shift+T. Related Topics: ![]() Editor Pane
The large pane in the middle of the Komodo workspace is the Editor Pane. The Editor Pane is used for editing and debugging. Each open file has a corresponding tab at the top of the Editor Pane. You can open numerous files at the same time. Change the order of the tabs by clicking and dragging tabs to the desired position. The name of the active file (that is, the file that is currently displayed in the Editor Pane) is displayed in bold text. Use the left and right arrow buttons on the right side of the tabs to scroll though open files. Use the close button "X" on the right side of the tab display to close the active file. An asterisk beside the file name indicates that the file has been changed since it was opened, and needs to be saved. Related Topics: ![]() Output Pane
The Output Pane spans the width of the Komodo workspace and displays at the bottom of the screen. The Output Pane has a tabbed view with the following elements:
![]() Collapsing and Resizing PanesAll panes in the Komodo workspace can be resized or minimized.
![]() Enabling Full Screen ModeTo take advantage of as much of the Komodo workspace as possible, select View|Full Screen. When Full Screen mode is enabled, the workspace is maximized, and the toolbars and status bar are hidden. To restore the previous view, select View|Full Screen again. ![]() Getting Started with the Sample ProjectKomodo's sample project includes a number of programs in different languages. Use these sample programs to familiarize yourself with Komodo's functionality. Open the Sample Project and FileOn Komodo's Start Page, click Open Sample Project. The Sample Project and its associated files will display on the Projects tab in the Projects/Toolbox Pane. To open a sample program, double-click the file name on the Projects tab. The contents of the file will display in the Editor Pane. ![]() Edit a Sample ProgramKomodo includes sample programs written in Perl, Python, JavaScript, PHP, Tcl, and XSLT. Each program is extensively annotated with comments and exercises that describe the Komodo's language-specific features. Open the sample programs for languages that interest you, and read the comments to explore Komodo's editing functionality. For a complete description of Komodo's editor functions, see Editing Files. As an example, a brief description of the Python sample program
(
![]() Debug a Sample ProgramKomodo provides debugging support for Perl, Python, PHP and XSLT. Komodo works with the core language distribution for Perl, Python and PHP to provide interpreter support. XSLT, on the other hand, is entirely self-contained. To debug the sample files for Perl, Python and PHP, you must configure the location of the language interpreter. See Configuring the Perl Debugger, Configuring the Python Debugger, or Debugging PHP for instructions. Then open the sample file for the desired language, and view the comments in the "Debugging" section. General debugging functionality is discussed below.
![]()
|