Home Download Buy Blog Forum Support

Sublime Text X 20110123

Sublime Text X 20110123

Postby jps on Sun Jan 23, 2011 10:48 am

A new build of Sublime Text X is available now, at the usual location.

The biggest change here is that the Ctrl+P dialog has been reworked into a more general "Goto Anything" popup. From this, you can:
  • Type, to search through files (open files, recently closed files, and files in open folders)
  • @foo, to search through symbols in the current file
  • :foo, to go to the given line number
  • #foo, to do a fuzzy search in the current file for foo
These can be combined: "foo@bar" will search for the file that best matches "foo", and go to the symbol in that file that best matches "bar". "foo:100" would go to line 100 of the same file. You can use this to preview a location in another file, then hit escape to go back to where you where.

There's still some polish to do on the dialog, but I'm keen for some feedback on it.

One difference between Goto Anything and the old Ctrl+P dialog is that Goto Anything will (by design) only operate on files in the current pane: if you select a file that's open in a different pane, it'll be cloned into the current pane (i.e., a second view into the same buffer).

Tab sizing is smarter now too: previously it used Chrome style behaviour, where each tab was the same size. The behaviour now is to always show as much of the file names as possible, and not do any truncation unless it absolutely has to be done.

There's now a dedicated quick panel for switching between projects (Ctrl+Shift+P), as well as a collection of various other editing commands (e.g., sort, transpose, convert between tabs and spaces).

Finally, plugins are now auto-reloaded.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime Text X 20110123

Postby marksteve on Sun Jan 23, 2011 10:56 am

You're too awesome :)
marksteve
 
Posts: 43
Joined: Thu Sep 30, 2010 6:44 am

Re: Sublime Text X 20110123

Postby marksteve on Sun Jan 23, 2011 11:10 am

I just tried the goto function and it's damn sweet! Wow. It's really cool how you made them but how do you even think about these? You're like some UX god :P
marksteve
 
Posts: 43
Joined: Thu Sep 30, 2010 6:44 am

Re: Sublime Text X 20110123

Postby Seldaek on Sun Jan 23, 2011 11:33 am

Universal Goto sounds great, but I hope there is still a way to bind various keys like have say Ctrl-R open the universal goto with an "@" already in the input field so I don't have to type it when I know what I'm gonna look for?
Seldaek
 
Posts: 27
Joined: Mon Oct 26, 2009 9:50 am

Re: Sublime Text X 20110123

Postby guillermooo on Sun Jan 23, 2011 4:26 pm

Brilliant!

Some thoughts:

GoTo Anywhere

* Allow customization of search modifiers

The @ and # characters are pretty cumbersome to type in my Spanish keyboard layout, so I 'd go for something like this:

Code: Select all
: (line op.)    :: (symbol op.)    ::: (fuzzy search op.)


The customized operators should be accessible from plugins.

* Highlight best match in sidebar

I personally wasn't keen on the idea of the sidebar at first --and it still stands out too much, IMHO--, but I'm starting to grow fond of it. At the moment only files in the active pane (?) are highlighted in the sidebar when they become the best match. That's a bit confusing when you're searching and have folders in your project; there's no visual cue to the file you'd activate by validating your search. I'd ask for that kind of visual feedback to be added.

* How does search ranking work?

I believe the new system has been discussed before, but it seems to me that now you have to enter search keywords in order. I don't think I can say: snipp otherkwd anotherkw and Sublime will match them in any order? I think this was the case in Sublime 1.x and it worked great for me, cause you can filter out stuff with less upfront thinking. But I might be missing some feature in the new search algorithm.
guillermooo
 
Posts: 727
Joined: Thu Jul 23, 2009 9:06 am

Re: Sublime Text X 20110123

Postby trevorsg on Sun Jan 23, 2011 4:59 pm

Would really like Ctrl+Backspace to have the same behavior in the project selector as it does everywhere else. Other than that, I love it!
trevorsg
 
Posts: 10
Joined: Fri Dec 04, 2009 5:05 am

Re: Sublime Text X 20110123

Postby luislavena on Sun Jan 23, 2011 5:02 pm

Awesome release!

Day and day this is turning into a great editor! Thank you!

I had one problem/crash, 64bits version, Windows 7:

    Empty project
    Drop one folder in it
    Used Ctrl+P and found a file and used @ symbol positioning
    Hit Enter to open the file
    Press Ctrl+W to close the file
    Hit Ctrl+P again, crash

I can reproduce this consistently.

Crash details:

Code: Select all
Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   sublime_text.exe
  Application Version:   0.0.0.0
  Application Timestamp:   4d3bfad3
  Fault Module Name:   sublime_text.exe
  Fault Module Version:   0.0.0.0
  Fault Module Timestamp:   4d3bfad3
  Exception Code:   c0000005
  Exception Offset:   0000000000192988
  OS Version:   6.1.7600.2.0.0.256.1
  Locale ID:   11274
  Additional Information 1:   92dc
  Additional Information 2:   92dcd38c9d68b1976687d5c3eb02ab6e
  Additional Information 3:   dcb8
  Additional Information 4:   dcb8d4b3120fef1e11d9b50f4cbbe201


Thank you.
luislavena
 
Posts: 25
Joined: Fri Jun 04, 2010 7:15 pm

Re: Sublime Text X 20110123

Postby oxman on Sun Jan 23, 2011 5:41 pm

Very very nice ctrl-p, thanks :)
oxman
 
Posts: 66
Joined: Sun Aug 29, 2010 10:00 am

Re: Sublime Text X 20110123

Postby Kensai on Sun Jan 23, 2011 8:48 pm

You're killing me here with all this talk of awesomeness but no way for an unregistered user to trial it. Any idea when it might become polished enough for you to consider letting us lesser mortals take a peek?

Kensai
Kensai
 
Posts: 33
Joined: Mon Aug 24, 2009 8:19 pm

Re: Sublime Text X 20110123

Postby jps on Sun Jan 23, 2011 8:51 pm

I'm aiming for the end of this month, or early next month - it won't be long now.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Next

Return to General Discussion

Who is online

Users browsing this forum: jbjornson and 18 guests