Home Download Buy Blog Forum Support

20080327 Beta

20080327 Beta

Postby jps on Thu Mar 27, 2008 2:12 pm

New beta is out, but be careful - all your file type options (including Default.sublime-options) will be overwritten. I've changed the way the options are setup now, so there will be less having your settings overwritten when upgrading in the future:
* Default.sublime-options is now Default File Type.sublime-options
* There's a new file User File Type.sublime-options, which overrides Default File Type, and won't be modified in future versions: your settings will be safe there.
* I've cleared out the majority of the settings from each individual file type options, meaning more things can be set globally just by editing the user file type.

There was method behind the madness of the old method - it was done with the assumption that changes would be merged in when upgrading, but it turned out that part caused more problems that it solved.

Bracket matching is in the new beta too, and a few settings to control it. You can also press Ctrl+Shift+M to select between the brackets, and Ctrl+M to move between the brackets. By design, it only recognises parenthesis, and not square brackets nor braces. They were included in the early builds, but I found it too distracting, and more of a hindrance than a help.

Finally, --opengl really does work in this version, and the mouse selection issues with drawCentered have been fixed.
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: 20080327 Beta

Postby myel on Thu Mar 27, 2008 11:32 pm

Impressive development speed.

I have some suggestions for bracket highlighting/matching: viewtopic.php?f=4&t=38
myel
 
Posts: 88
Joined: Sat Mar 22, 2008 11:26 pm

Re: 20080327 Beta

Postby fbd on Sun Mar 30, 2008 7:57 pm

i've installed beta over previous installation and it seems my macroses and bindings are disappeared. :shock:
I wrote some macroses like single quotes support (for php) and line swapping up and down (alt+up/down binding like in Eclipse). :(
fbd
 
Posts: 3
Joined: Fri Mar 28, 2008 9:30 pm

Re: 20080327 Beta

Postby jps on Mon Mar 31, 2008 6:31 am

Were the macro files actually deleted, or just the key bindings for them?

The macros themselves should definitely not have been deleted, but any changes to Default.sublime-keymap are nuked when upgrading, if Default.sublime-keymap has been changed in the new version. This isn't great at all, and will be fixed at some point in the future.

For the moment, your best bet is to put new key bindings in a (new) file called Default.sublime-keymap in the Packages/User directory (generally C:\Documents and Settings\<username>\Application Data\Sublime Text\Packages\User). These bindings will be mered in to the active set of key bindings, and will be preserved when upgrading to newer versions.
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: 20080327 Beta

Postby jps on Mon Mar 31, 2008 8:41 am

jps wrote:generally C:\Documents and Settings\<username>\Application Data\Sublime Text\Packages\User


FYI, on Vista, it's generally C:\Users\<username>\Application Data\Roaming\Sublime Text\Packages\User

sublimator wrote:Jon, eventually once packages start to proliferate and they come with Default.sublime-keymap files, is there going to be some sort of warning when keys are binded more than once?
Will contexts solve that mostly?


I wouldn't expect contexts to solve that, no. I'm sure at some point I'll start showing warnings, or menus to choose between the actions multiply bound key sequences.
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 24 guests