Sublime Blog

Sublime Text 2 Build 2091

Sublime Text 2 Build 2091 is available now, with a raft of new features. Many thanks to everyone who has tested the dev builds during this time.

Firstly, text rendering quality has been improved on OS X and Linux. Text rendering on OS X previously supported sub-pixel anti-aliasing, but not sub-pixel positioning. Build 2091 rectifies this, eliminating the too-wide spacing between characters. Text rendering under Linux has changed to have sub-pixel anti-aliasing enabled by default: it was supported previously, but had to be explicitly turned on.

Build 2091 also introduces support for some of OS X Lion’s features. Overlay scroll bars are now in there, albeit without support for over-scroll yet. Lion full screen support has been added too, although old style full screen support is a just setting away. There have also been a couple of key binding changes for OS X, to make full screen (now ^⌘F), find (⌘F now shows the find panel only), and replace (⌥⌘F) match the Lion defaults.

Some of the more general feature highlights:

  • Blinking carets! This has been a long time coming, but is finally here. As with many things in Sublime Text, there’s a setting to control it, too. Using the caret_style file setting, you can disable blinking altogether, or change a different fading style (’phase’ can be fun).
  • File name disambiguators. If you have multiple files open with the same name, a short suffix will be appendend to the file name in the side bar and tabs to help you determine which one is which.
  • Tab labels have been reworked. They now fade, rather than elide, and will adapt better to the available size, shrinking the horizontal margins when space is tight. The end result is a more efficient use of space, so you can better see which files are open. There’s also a setting, show_tab_close_buttons, to hide the close buttons on the tabs.
  • New windows have their sizes and settings copied from the current window, compared to earlier builds where their settings came from the new_window_settings global setting.

The above list is just a small sample of what’s new or improved in build 2091 – the full change list is on the Sublime Text 2 page.

Jon Skinner

17 Comments

  1. Congrats on shipping! Big fan of ST2 here, dont get to use it as often as i’d like due to being locked in xcode all day, however.
    If i had one wish, it’d be that st2 would load more quickly, but i can understand if thats out of the question.

    Comment by Chris — July 29, 2011 @ 11:56 am

  2. Really nice work! Thank you very much.
    One question: is it possible to change the carret to an underscore instead of using a pipe?

    Regards and thanks,
    Bastian

    Comment by Bastian — July 29, 2011 @ 6:05 pm

  3. You can use the (hidden) file setting ‘inverse_cursor_state’ to use an underscore (set it to true)

    Comment by Jon Skinner — July 29, 2011 @ 6:32 pm

  4. Is there an option/plan to support expanding a selection left? So that when I double-click select a word, and then use shift+left as the first command, the selection is expanded left, rather than shrinking from the right. (and left/right continues in this manner while selected). Am rather used to this behaviour from textmate.

    Comment by Chris S — July 29, 2011 @ 10:26 pm

  5. Not as such, but if you’re selecting with the mouse, then you can choose which end of the selection is active by dragging the mouse in that direction.

    Comment by Jon Skinner — July 29, 2011 @ 10:37 pm

  6. Aha I see now, that works as an alternative, thanks! Great editor.

    Comment by Chris S — July 29, 2011 @ 10:41 pm

  7. The update speed is amazing! Thank you!

    Comment by Joey Baker — July 29, 2011 @ 11:15 pm

  8. Is there a zipped alternative for the windows installer linked to on the http://www.sublimetext.com/2 page? Our IT dept blocks exe file downloads. I suppose I can try out the portable version and run it from my local drive (USB drives blocked as well).

    Comment by Eric Wilson — July 30, 2011 @ 2:11 am

  9. Love the addition of Lion-style full-screen. However, when using overlay scroll bars, there’s no longer any kind of visible divider between panes, making all layouts other than “single” very confusing. I’d suggest that there be, at the very least, a 1px black divider between panes by default.

    Comment by Trevor Burnham — July 30, 2011 @ 4:57 am

  10. What are the other Caret styles? Can I have one that’s solid? I’m also having problems getting line highlighting back, what’s the setting?

    Comment by Ed — July 30, 2011 @ 8:37 am

  11. Ed: take a look at the default file settings (available via the preferences menu) for a list of all settings and a description of each. If you search that file for caret_style you’ll find a listing of the available options.

    You can enable line highlighting with the highlight_line setting

    Comment by Jon Skinner — July 30, 2011 @ 8:53 am

  12. I guess since I upgraded I didn’t get an updated file settings? It definitely doesn’t include caret or highlight_line, I’m running on 2091. It does however have use_simple_full_screen.
    Setting highlight_line to true also doesn’t seem to work for me.

    Comment by Ed — July 30, 2011 @ 9:00 am

  13. It sounds like you’re looking at the global settings, rather than the file settings – both are listed on the preferences menu.

    Comment by Jon Skinner — July 30, 2011 @ 10:02 am

  14. @Chris S

    You can use a simple command to reverse the directions of your selections.

    https://gist.github.com/1115334

    Comment by Joey — July 30, 2011 @ 6:32 pm

  15. @Joey

    Thanks for the script! I modified it to take a direction parameter and work like the shift key if the direction is the same as the selection.

    https://gist.github.com/1115398

    Ease of extending sublime text is great.

    Comment by Chris S — July 30, 2011 @ 8:41 pm

  16. Are there plans to bring Sublime Text 2 to the Mac App Store?

    Comment by jL — July 31, 2011 @ 4:14 pm

  17. At this stage, I’m not planning on putting Sublime Text 2 on the Mac App Store

    Comment by Jon Skinner — July 31, 2011 @ 4:39 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.