Home Download Buy Blog Forum Support

Sublime Text 2 20110203

Sublime Text 2 20110203

Postby jps on Thu Feb 03, 2011 1:34 pm

There's a new version of Sublime Text 2 out, 20110203, with a fair number of changes. This fixes all crash bugs I'm aware of, so please let me know if/when you run into more.

Some of the feature highlights are:

  • Tabs have a context menu, with options to close the current tab, tabs to the right, or all other tabs. There is still no context menu for the sidebar, but it is on the todo list.
  • Sub-word movement, for moving through WordsLikeThis and like_this_too. This is bound to Ctrl+Arrow keys on OS X, and Alt+Arrow keys on Windows and Linux.
  • Windows and Linux can now switch to tabs by index, bound to Alt+<number>. On OS X the same thing can be done by Command+<number>. There's also a Switch File menu (under File), which contains a list of the different ways to switch between files, given there have been a few questions about this recently.
  • Menu mnemonics are in, so you can press Alt+F,O to open, etc.
  • Syntax definitions are loaded in the background. This improves startup time, as well as making Goto Anything smoother when previewing different types of files.
  • There's a new setting, "draw_minimap_border", to do just that. The color of the border can be configured in the .tmTheme, as "minimapBorder".
  • The Linux build has received several improvements: the mouse cursor changes based on context (i.e., resize handles, and an i-beam when over text), running via a symlink works as expected, and remote files (e.g., SSH via GVFS) are shown in dialogs and work with drag and drop.
  • More!

There's still no auto-update yet, unfortunately, but I'll try to get Sparkle integrated for the next build on OS X. I tried to make it happen for this weeks release, but ran out of time after fighting with it this afternoon.

UserEcho is looking like a success, and is responsible for draw_minimap_border making it into this weeks version.

The full list of changes is on the Sublime Text 2 page.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime Text 2 20110203

Postby jbrooksuk on Thu Feb 03, 2011 2:16 pm

Awesome awesome :D
jbrooksuk
 
Posts: 765
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Sublime Text 2 20110203

Postby kib2 on Thu Feb 03, 2011 2:17 pm

Hi Jon,

thanks for this one. I just installed it and have a few problems:
  • going to Preferences/Default file preferences and changing my fonts had no effect this time (Win7, 32 bits version).
  • i've already submitted a bug concerning very long lines here on UserEcho http://goo.gl/G2jw4, but still have the issue. Maybe you didn't have time to watch it ?
kib2
 
Posts: 38
Joined: Sun Mar 23, 2008 8:30 am
Location: France

Re: Sublime Text 2 20110203

Postby jps on Thu Feb 03, 2011 2:23 pm

kib2 wrote:going to Preferences/Default file preferences and changing my fonts had no effect


This was a deliberate chance, to bring windows in line with OS X and Linux. The font settings must be specified in the User File Preferences, as they're overridden by the platform specific ones (e.g., Packages/Default/Base File (Windows).sublime-settings.

re: long lines, I haven't had a chance to investigate it yet.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime Text 2 20110203

Postby n00ge on Thu Feb 03, 2011 2:41 pm

Thanks for the update. It's great having the border back in and the alt+arrow keys to move through camelCase and under_score words is handy too.
http://twitter.com/n00ge
Sublime Text 3 dev builds | OS X 10.8.2 & Ubuntu 13.04
n00ge
 
Posts: 140
Joined: Mon Oct 05, 2009 1:23 am

Re: Sublime Text 2 20110203

Postby kib2 on Thu Feb 03, 2011 2:46 pm

Sorry, I wasn't aware of the changes you made.
Is it also the case for other things like encoding or line endings ?
No problem for the very long lines, just take your time.
kib2
 
Posts: 38
Joined: Sun Mar 23, 2008 8:30 am
Location: France

Re: Sublime Text 2 20110203

Postby jps on Thu Feb 03, 2011 2:52 pm

It only effects font_size, font_name, and scroll_past_end (OS X only).

In general though, you're better off putting your settings in User File Preferences, so they don't get overwritten when installing new versions.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime Text 2 20110203

Postby jbjornson on Thu Feb 03, 2011 3:34 pm

The new "draw_minimap_border" isn't exactly what I was expecting / hoping. Maybe I'm alone here, bit I had hoped that there would be a border around the whole minimap, not just the box highlighting the visible area...
jbjornson
 
Posts: 348
Joined: Tue Oct 27, 2009 4:25 pm
Location: Zurich, Switzerland

Re: Sublime Text 2 20110203

Postby jbrooksuk on Thu Feb 03, 2011 4:05 pm

Important note to those who use multiple layouts.

The modifiers have changed to Alt+Shift+[1-4] instead of just Alt+[1-4] as that now changes the current working tab.
jbrooksuk
 
Posts: 765
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Sublime Text 2 20110203

Postby thedz on Thu Feb 03, 2011 10:38 pm

The changelog says "OSX: Implemented scrollToBeginningOfDocument: and scrollToEndOfDocument" -- does anyone have any tips on how to actually bind these?
thedz
 
Posts: 2
Joined: Wed Feb 02, 2011 10:47 pm

Next

Return to General Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 48 guests