Channels ▼
RSS

Tools

Review of Two Editors: Sublime Text 2 and SlickEdit


Both editors also support recording macros that can be tied to a key sequence. Recorded SlickEdit macros are saved as Slick-C macros. If you're serious about extending your editor, you'll appreciate the built in profiler and debugger that SlickEdit provides for creating Slick-C macros.

One feature I really liked in Sublime is simultaneous multi-line editing. Multi-line editing makes it possible to create an array out of a list of values with a few key strokes. Figure 3 is an animated GIF that demonstrates this feature.


Figure 3.

The search features in Sublime are also handy. With a few key strokes, you can find a particular file, then search and select from a list of functions in the file. This can be accomplished by by typing "Ctl+p," then typing the first few characters of the file you want. Highlight the desired file in the list, then type "@" to view a list of functions in the file. If you type more characters after the "@," it will filter the function list.

Along the same lines, SlickEdit supports GOTO a particular definition. Sublime does not have this feature out of the box.

SlickEdit possesses an unusual feature called "dynamic surround." After creating a code block (if/then, try/catch, etc.), the editor allows you to add existing lines of code to the block with the up and down arrows. Code added to the block is automatically indented, and if you press the up arrow to remove a line from the block, it's placed back at the proper indentation. Figure 4 presents this as an animated GIF.


Figure 4.

The final SlickEdit feature I'd like to mention is beautify-while-typing. In addition to the ability to select and format code, SlickEdit will properly format code while you type. This feature is invoked when the user types a dot or a left/right curly bracket (it's off by default). This feature is currently supported only in C/C++ and Objective-C.

Support

At several points during the review, I contacted support for both products. It was apparent that SlickEdit is prepared to provide user support, while Sublime Text 2 is not. The primary form of support for Sublime Text 2 is through a forum, which is active. E-mail questions to the main developer were answered days later or sometimes not at all. There are no options for support beyond the forum and the scant documentation. While Sublime is a very capable editor, be prepared to do some legwork if you need support.

SlickEdit has support staff that respond to queries quickly and fully. The company offers 30 days of installation support for free, and yearly maintenance and support for a fee. There is also a community forum, and a website with feature demos.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
 

Video