Sublime Forum

Sublime Text 2 Public Alpha

#1

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
0 Likes

#2

Sweet :smiley:

Thanks Jon!

0 Likes

#3

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?

0 Likes

#4

“selector”, for example:

{
    "keys": "ctrl+t"],
    "command": "select_all",
    "context":
    
        { "key": "selector", "operator": "equal", "operand": "source.python" }
    ]
},
0 Likes

#5

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

0 Likes

#6

Not exposed in the API yet, I’ll add it on the list for the next version

0 Likes

#7

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!

0 Likes

#8

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?

0 Likes

#9

charset issue not fixed? :frowning:

0 Likes

#10

Congrats Jon. I know there’s a lot of hype for this on Twitter. Loving it.

0 Likes

#11

Congrats on the release, Jon! Great work!

0 Likes

#12

For those of you not on twitter, check out the buzz:
twitter.com/#!/search/sublimetext

0 Likes

#13

Loving it so far! Saw it mentioned on reddit (reddit.com/r/programming/com … ditor_for/), and decided to give it a whirl.

However, I can’t really start using it as my go-to editor unless it gets the same fuzzy filename matching that TextMate has - for example, if I have a file named foo_bar.css, I can just type foobcss and it will match, but Sublime seems way more strict about it (requiring me to enter foo_bar, etc.)

Is there any way to config the matching via the API?

EDIT: actually, on trying it a bit more, I rescind that - you can totally type foobarrc and it will match. What it won’t do (and what I’m used to doing) is foo bar (with a space in the middle taking the place of the underscore), which causes the match to fail. Perhaps the matcher can map spaces to common word delimiters (_,/,-,&, etc); even cooler would be breaking on CamelCase words but that’s probably a lot to ask :smile:

0 Likes

#14

you can enter just “fb” and it will select foo_bar.css :slight_smile:

0 Likes

#15

Yar. I just need to change my habits, I suppose :smile:

0 Likes

#16

Only just got it down and open, but its pretty slick. I’m sure I’m going to be asking for more customizability and maybe a few other little things that will get put way down on the priority list because I’m a novelist and not a coder, but seriously, this is some slick stuff. I’m loving the sidebar + tabs. The project management thing I’ll have to get the hang of, but already looks like it might help me keep from working with the “evil empire” for brainstorming and organizing my work (have to admit that their heading/outlining/navigation panel work for Word 2010 has brought that app back from being an utter piece of crap for getting real work done, but its still kinda ugly and distracting, not to mention kinda slow on my laptop in some circumstances).

Thanks for getting this public so quickly. I’ll be putting it through its paces.

0 Likes

#17

Awesome release Jon!

Started to use new projects and love the context switching. It will take some time to change my command line habits to start the editor, but I can do it :sunglasses:

I love the GoTo symbol, but I noticed it doesn’t work for C files with K&R coding style (Ruby source code for example). Perhaps ctags parsing can be added?

The second thing I noticed is that sometimes, with no file buffer open, Ctrl+P sometimes work and sometimes doesn’t, I need to click on one of the open folders (highlight it firs) for Ctrl+P to work.

Cheers!

0 Likes

#18

Nice job! Even got to Mashable :smile:

0 Likes

#19

Wow. I go off to Mac land and you now put out an ST release that I can use? Thank you! :smiley: Gonna give it a spin. Cheers mate!

0 Likes

#20

Yup, setting show_minimap to false seems to have no effect. Also, setting word_wrap to true seems to have no effect on javascript files, is that being overwritten somewhere?

0 Likes