Home Download Buy Blog Forum Support

Sublime Text 2 Public Alpha

Sublime Text 2 Public Alpha

Postby jps on Fri Jan 28, 2011 12:06 pm

I'm pleased to announce the Sublime Text 2 public alpha is now available. There's a corresponding blog post, describing some of the new features.

For everyone who's used Sublime Text X over the past several months, thanks for all your feedback and patience - it's been invaluable. To port your settings from Sublime Text X to Sublime Text 2, just rename the data directory from Sublime Text X to Sublime Text 2. The data directory is located:
- Windows: %APPDATA%/Sublime Text X
- OS X: ~/Library/Application Support/Sublime Text X
- Linux: ~/.Sublime Text X
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime Text 2 Public Alpha

Postby jbrooksuk on Fri Jan 28, 2011 1:17 pm

Sweet :D

Thanks Jon!
jbrooksuk
 
Posts: 774
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Sublime Text 2 Public Alpha

Postby FalconNL on Fri Jan 28, 2011 2:13 pm

Looks great so far.

One quick question I came across while trying to convert my scripts to the new version: what is the key that contains the file type in keyboard shortcut contexts?
FalconNL
 
Posts: 67
Joined: Thu May 29, 2008 8:17 pm

Re: Sublime Text 2 Public Alpha

Postby jps on Fri Jan 28, 2011 2:25 pm

FalconNL wrote:what is the key that contains the file type in keyboard shortcut contexts?


"selector", for example:

Code: Select all
{
    "keys": ["ctrl+t"],
    "command": "select_all",
    "context":
    [
        { "key": "selector", "operator": "equal", "operand": "source.python" }
    ]
},
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime Text 2 Public Alpha

Postby asmodai on Fri Jan 28, 2011 2:26 pm

Jon, I couldn't find anything with dir() at the moment, but are equivalents for things like sublime.packagesPath() in the base already?
asmodai
 
Posts: 73
Joined: Mon Mar 01, 2010 10:42 am

Re: Sublime Text 2 Public Alpha

Postby jps on Fri Jan 28, 2011 2:32 pm

asmodai wrote:Jon, I couldn't find anything with dir() at the moment, but are equivalents for things like sublime.packagesPath() in the base already?


Not exposed in the API yet, I'll add it on the list for the next version
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime Text 2 Public Alpha

Postby gregmax17 on Fri Jan 28, 2011 3:18 pm

AWESOME!

I love this editor! It feels and works so nice. I like the animations, its not too much, just the right amount. I really like the interface as well.

Here are my requests :
- in the project panel, I would like to use my arrow keys when moving around the tree structure of my files/folders. For me, as a programmer (as all of us on this Forum I assume), I use the keyboard more than my mouse. Maybe a quick shortcut key to swap between the editor and project panel as well?
- at the bottom of the project panel, I want to see several icons that represent these actions : add, rename, and delete file/folder. When I dragged and dropped the folder I wanted to use into Sublime, it opened the folder and its contents. When I wanted to create a file/folder, I have to create a 'untitled' file, prompt to save it... then the prompt window shows me a directory which is far off from where I want to save it. It would be nice for these icons to be here so when I create a new folder, it creates it within the same scope of my project. Or file.

I like the minimap's new location... but I can't seem to turn it off from the Default Global Preferences when I set the "show_minimap" to false

I love this editor!
gregmax17
 
Posts: 15
Joined: Thu Aug 05, 2010 7:58 pm

Re: Sublime Text 2 Public Alpha

Postby FalconNL on Fri Jan 28, 2011 3:33 pm

Has there been a change in the way language definitions are loaded? Previously, I had a folder called Haskell2 with a modified language definition for .hs files that used to override the default one. In Sublime Text 2, however, this no longer seems to work, as the default one gets precedence. If this simply not implemented yet or is there a new way of overriding language definitions?

EDIT: A few more questions:

- Is there any chance of making settings like match_brackets_angle file-type dependent? Because I would like to match angle brackets in html files, but enabling it breaks matching of lambda expressions like (\x -> x + 2) in Haskell.

- Any chance of making an option to hide the menu bar until you press the Alt key?

- The file type indicator in the lower right corner has disappeared. Is this not implemented yet or did you decide to get rid of it? If so, is there a new way of choosing the language definition for unsaved files?
FalconNL
 
Posts: 67
Joined: Thu May 29, 2008 8:17 pm

Re: Sublime Text 2 Public Alpha

Postby Sublimaz on Fri Jan 28, 2011 5:00 pm

charset issue not fixed? :(
viewtopic.php?f=2&t=1413
Sublimaz
 
Posts: 18
Joined: Mon Dec 13, 2010 2:27 pm

Re: Sublime Text 2 Public Alpha

Postby n00ge on Fri Jan 28, 2011 5:15 pm

Congrats Jon. I know there's a lot of hype for this on Twitter. Loving it.
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

Next

Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot] and 28 guests