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 elements 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 Getting Started PageKomodo's Getting Started page is displayed by default when Komodo is first opened, and whenever there are no files open in the Editor Pane. The Getting Started page provides quick access to recently-opened files and projects. The Getting Started page also has links for configuring languages, creating a new project, opening an existing project, and opening Komodo's Sample Project. To configure the number of files and projects that display on the Getting Started page, or to clear the list of recently used files or projects, use Komodo's Preferences. ![]() 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, Tools, 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 Menubar provides quick access to common editing functions. Also, the Rx Toolkit and the User Guide are accessible from the Standard Toolbar. To launch or close the Rx Toolkit, click the Rx Toolkit button, which has a mortar and pestle icon. For more information about Rx Toolkit, see Using Rx Toolkit. To launch the Komodo User Guide, click the Help button with the question mark icon. The Debug Toolbar below the Standard Toolbar provides quick access to common debugging functions, such as Step Into 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:
![]() Project Pane
The top left pane of the Komodo workspace is labeled "Projects", and 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. 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 their 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 Panes
All panes in the Komodo Workspace can be resized or minimized.
![]() 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 Getting Started page, click Open Sample Project. The Sample Project and its associated files will display in the Project Pane. To open a sample program, double-click the file name in the Program Pane. 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 Configuring the PHP Debugger for instructions. Then open the sample file for the desired language, and view the comments in the "Debugging" section. Below, we will discuss general debugging functionality.
![]()
|