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.