Source Code Editor

The EditRocket source code editor and text editor includes many tools and features to make programming easier. The source code editor supports over 20 programming languages with custom tools and features for each language. See the language specific pages for more information. Listed below are the general purpose source code editing features included in EditRocket. See the text editor page for more information on text manipulation, searching, bracket matching, etc.

Code Builders

The EditRocket source code editor includes tools called code builders for several languages. The code builders allow users to look up programming language API and library information such as library functions for languages such as PHP, Perl, Python, Ruby, etc., class and method information of library classes for languages such as Java, tag and style information for languages such as CSS and HTML, and so on. Users can then click on the particular code to copy it into the source code editor.

Source Code Inserts

The source code editor includes functionality called code inserts that allow users to quickly insert common programming language specific coding constructs such as if and else statements, for and while loops, try and catch blocks, etc. The inserts are also fully customizable to allow users to edit or create their own source code inserts.

Function and Method navigators

EditRocket parses the contents of the current editor tab to display a list of functions or methods. EditRocket uses the current language setting for the editor to determine how to parse the contents. For example, Java methods would be parsed differently than PHP functions. The Function / Method Navigator tool parses the contents and then displays in alphabetical order the functions or methods contained in the editor. Next to each function or method is a button the user can click to be taken directly to the function or method.

Auto Completion

EditRocket currently supports auto code completion for Java, JavaScript, JSP, Python, PL/SQL, and Ruby, auto tag lookup and completion for HTML, auto code block completion for C-style langauges such as Java, C++, C, JavaScript, PHP, etc., auto tag closure and completion for XML, and auto function signature display for PHP and C.

EditRocket also supports function lookup for many languages, which behaves similarly to auto-complete in its execution. Function lookup can be executed using the C + L keyboard shortcut. Function Lookup is especially useful for languages for which EditRocket has code builders, such as C, JavaScript, Perl, PHP, PL/SQL, Python, Ruby, Shell Script, and Transact-SQL since EditRocket can display signature information as a tooltip for these languages.

Executing Programs

EditRocket provides support for executing programs for Java, Perl, Python, and Ruby. EditRocket will search the operating system for common locations for the required libraries to execute the programs, and handle passing the appropriate arguments to execute the program. Standard output and standard error streams are then displayed to the user.

Showing programs in a Web Browser

EditRocket provides support for executing dynamic language pages in a web browser. These languages include JSP, PHP, Perl, Python, and Ruby. EditRocket will prompt the user for the URL and document root of the local web server, and then launch a web browser to display the output of the page. EditRocket can also display static HTML pages in the web browser.