Code Inserts

EditRocket provides code inserts for many programming languages. These inserts allow users to quickly insert common code constructs into code with the click of a button or via a keyboard shortcut. Users can also add their own custom code inserts using the Add Insert tool. Inserts have the ability to smart indent when inserted, and sections of the insert can be highlighted, or the cursor position can be specified so that the cursor starts at a specific position in the insert.

As an example, EditRocket provides an insert for the If statement for most programming languages. Clicking the If statement insert inserts the text for an if statement with the correct indenting, and then positions the cursor such that the user can begin typing at the appropriate section of the If statement.

Coding inserts are current available for the following programming languages: ActionScript, C, C++, C#, CSS, HTML, Java, JavaScript, JSP, Perl, PHP, PL/SQL, Python, Ruby, Shell Script, SQL, SQL PL, Transact-SQL, and XML. If the programming language is not listed, users can add the insert to the custom section provided by EditRocket.