Home Download Buy Blog Forum Support

Sublime Text X 20100930

Sublime Text X 20100930

Postby jps on Thu Sep 30, 2010 5:08 am

20100930 is available now. The headlining feature is initial support for projects, and there's plenty of other features too: the full change log is on the aforementioned page.

You can create a project by dragging folders onto the side bar. There's no support for .sublime-project files, but the project is saved in the session. Ctrl+P (⌘P on OS X) will show a quick panel to select files within the project. I'm keen for feedback on how this is working for everyone: the ranking gives good quality (& fast) results for me, but there's still plenty of scope to tune the ranking function. The quick panel is now showing the score next to each entry: this is with the intention of adding user supplied regexes to influence the ranking of individual files (e.g., to make some generally unimportant directories in a project rank lower).

The current plan for the next release is to start getting the basic editing functionality up to speed: support for key binding contexts, python plugins and find/replace. I'm not sure how much of that will actually make it into the next version, but that's the general gist of it.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime Text X 20100930

Postby marksteve on Thu Sep 30, 2010 7:04 am

This is my first time seeing X and I'm loving it. I hope more people discover this app because it's just awesome. I'll try to post tips in blogs I read about the new cross-platform releases. I'm pretty sure I haven't read about X from other sources aside from this site.

Some notes on this version of X
- Quick open with no file open also crashed mine. Win 7 64bit.
- I haven't checked out the previous builds of X but I hope the quick open panels won't be in dialog boxes for the final version or at least to not allow multiple quick open boxes. But I do like the new look.
marksteve
 
Posts: 43
Joined: Thu Sep 30, 2010 6:44 am

Re: Sublime Text X 20100930

Postby jps on Thu Sep 30, 2010 7:37 am

sublimator wrote:How does ranking/matching currently work?

I typed in 'web' and for the top ranking match it first highlighted a 'b' ( in budget ) then later where there was a 'web' it only highlighted 'we' ?


It matches against the full path, and highlights the characters that result in the highest score for that path: for the first match in your screenshot, a 'b' at the start of a word is worth more that matching against the 'b' in Web. The first line in each results always displays the file name, exclusive of the path.


marksteve wrote:I haven't checked out the previous builds of X but I hope the quick open panels won't be in dialog boxes for the final version or at least to not allow multiple quick open boxes. But I do like the new look.


I'm planning on making the quick panel dialogs modal, which will disallow the multiple quick panel dialogs. I'm also planning to experiment with placing the panel in the side bar, but it remains to be seen if the width restrictions there will be too much.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime Text X 20100930

Postby marksteve on Thu Sep 30, 2010 7:59 am

jps wrote:I'm planning on making the quick panel dialogs modal, which will disallow the multiple quick panel dialogs. I'm also planning to experiment with placing the panel in the side bar, but it remains to be seen if the width restrictions there will be too much.


I think a centered modal gives more visual cue than to put it in the sidebar which would be just like toggling a panel
marksteve
 
Posts: 43
Joined: Thu Sep 30, 2010 6:44 am

Re: Sublime Text X 20100930

Postby corelon on Thu Sep 30, 2010 8:19 am

Just a couple of things before I download:

You mention that Control-Left Click on MacOSX does column select. Actually this is reserved for right click especially on one button mice and more importantly on mac laptops. Maybe you should change that to something else?

I mentioned that on some linuxes I tried it it would not run because it would complain about UCS4. I did a bit of searching and found that Ubuntu compiles python with ucs4 support while the default configuration for python compilation (and thus the default for other distributions) is ucs2. Is it possible to provide an alternative for other distros? I am willing to test it in at least fedora and archlinux.

Regards,

Nick

EDIT: Just downloaded for linux. The problem with accented (tonos) greek vowels is fixed. I still have the problem with Backspace, Delete and Return keys not working.
corelon
 
Posts: 41
Joined: Mon Feb 16, 2009 2:16 pm

Re: Sublime Text X 20100930

Postby jps on Thu Sep 30, 2010 8:23 am

I'm not super keen on changing the ranking based on usage (or other signals, like file modification times), because then the rankings aren't consistent over time: if forces the user to pay more attention. I am planning on remembering the last highlighted file for a particular input though.


I think TM has one command combining the functions of Sublimes 'open in project' & 'select buffer'. The files that are already open are likely ranked higher, as are those that have been recently (modified, open) I can't really comment on the practicality of that all in one approach as I've never used it.

>> I am planning on remembering the last highlighted file for a particular input though

Sweet :)

Any plans for dealing with selection of multiple files? For eg: find and replace in multiple files? Apply semi automatic macros to multiple files etc.
Or any other command you'd like to target to multiple files? I noticed you can do ctrl+shift clicks to select multiple buffers in the side bar.

Anyway, I can't think straight atm, alcohol is the work of the devil!
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime Text X 20100930

Postby jps on Thu Sep 30, 2010 8:28 am

corelon wrote:You mention that Control-Left Click on MacOSX does column select. Actually this is reserved for right click especially on one button mice and more importantly on mac laptops. Maybe you should change that to something else?


Yikes, good point. I'll change that.

corelon wrote:I mentioned that on some linuxes I tried it it would not run because it would complain about UCS4. I did a bit of searching and found that Ubuntu compiles python with ucs4 support while the default configuration for python compilation (and thus the default for other distributions) is ucs2. Is it possible to provide an alternative for other distros? I am willing to test it in at least fedora and archlinux.


Thanks for doing the investigation. There's only a single place that particular function is made use of, I should be able to work around it.

corelon wrote:EDIT: Just downloaded for linux. The problem with accented (tonos) greek vowels is fixed. I still have the problem with Backspace, Delete and Return keys not working.


Can you run with --debug and let me know what's printed to stdout when you press the non-functional keys? Also, are the arrow keys now working for you in this build?
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime Text X 20100930

Postby corelon on Thu Sep 30, 2010 9:33 am

Indeed the arrow keys do not work either.
When I ran it with --debug for Backspace, arrow keys, Delete I got nothing in the console.
For Return/Enter I got the following message:
skyline_text_control.cpp560 handle_event got unwanted character:

Regards,

Nick
corelon
 
Posts: 41
Joined: Mon Feb 16, 2009 2:16 pm

Re: Sublime Text X 20100930

Postby vikaskbh on Thu Sep 30, 2010 2:48 pm

How to increase font size in sublime X ?
vikaskbh
 
Posts: 15
Joined: Fri Sep 17, 2010 6:49 am

Re: Sublime Text X 20100930

Postby corelon on Thu Sep 30, 2010 4:57 pm

You should locate the file User File Type.sublime-options and set the font size there.

You can consult the following files for an example (some are OS specific in terms that they are not used if not in the named OS):

Default File Type.sublime-options (this should be used by all OSs)
Linux File Type.sublime-options
OSX File Type.sublime-options
Windows File Type.sublime-options

The files can be located in the user preferences of your used OS (e.g. ~/Library/Application Support/Sublime Text X/Packages/Default/Options in MacOSX)

I hope that helps

Nick
Last edited by corelon on Thu Sep 30, 2010 5:09 pm, edited 1 time in total.
corelon
 
Posts: 41
Joined: Mon Feb 16, 2009 2:16 pm

Next

Return to General Discussion

Who is online

Users browsing this forum: MrMartineau, Yahoo [Bot] and 32 guests