C/C++ Editor

 

Beautifier

The built-in beautifier allows very fine-grained control over source formatting options for C++, Objective-C, Java, JavaScript, PHP, Python, System Verilog, XML, or HTML. You can pick from one of several pre-existing profiles and save your modifications to create your own profiles. Source can be beautified on demand using any of the profiles and can be configured to beautify as you type using your preferred beautifier settings.

 

Beautify While Typing

When the "Beautify while typing" feature is enabled for C++, Object-C, Java, JavaScript, XML, or HTML, your code will be automatically beautified when you type ';', '{' or '}'. This improves the consistency of your code and produces more readable code with better spacing.

SlickEdit is the first product to beautify C++ as you type.  Even with the complexity and ambiguous syntax of C++, re-spacing options for all operators including * are supported.

 

Syntax Expansion

Expands common block structures (if, for, try, ...) when the initial keyword is typed. For example, when "if" is typed followed by a space, SlickEdit inserts the parentheses for the condition and the braces. You can define additional structures to be expanded.

 

Dynamic Surround

Surround existing lines of code with block statements or tags. Dynamic Surround allows you to expand a block after syntax expansion, using the arrow keys to move the end of the block up or down. Surround With allows you to select lines and then choose a block structure or tag.

 

SmartPaste®

Automatically formats line selections when pasted. The pasted code is formatted to match the indentation of the new location and the brace style adjusted to match your settings.

 

Defs Tab

SlickEdit's Defs Tab gives you a powerful overview of the currrent file, showing all the functions and globals in a file and highlights the function that the cursor is currently in. Double clicking an item will take you there immediately. List items alphabetically or by line number.

For C/C++ this support goes to the statement level.

See more cool tagging related features here.

 

Syntax Indent

When you press Enter in SlickEdit, the cursor does not just go to the beginning of the line. It goes where it belongs. This works even for complicated statements.

 

Surround With

Use to surround existing lines of code with a new structure such as: if, for, while, and try. The existing code is automatically placed inside braces and indented. Additional structures can also be defined for Surround With.

 

Comment Wrapping

Formats block comments as you edit them, automatically wrapping based on your settings. Comment wrapping preserves comment border characters.

 

Code Templates

Use to automate the creation of common code elements, like a standard class implementation or design patterns. You can create templates for a whole file or multiple files.

Code Templates