Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.

+6

SQL syntax highlighting error in concatenated python strings

Bcj Brendan 12 ár síðan updated by Joel Thornton 12 ár síðan 1
In python strings that are broken up onto multiple lines (e.g. see below), SQL syntax highlighting only appears on the very first line of the string.
statement = ("SELECT <col> FROM <table> WHERE "
                    "<col> = <value> AND <col> = <value>;")
+6

RegEx search should support lookaround.

Justin Hileman 13 ár síðan 0
It would be great if RegEx search were lookaround aware.

It currently allows me to use lookaround, but considers the lookaround "part of the result" not a zero-width assertion as it should be. For example this search:
Foo(?>Bar)

should (and does) find instances of 'Foo' immediately followed by 'Bar' in my document. But if it were truly lookaround-aware, it would only select 'Foo' as the "search result", instead of 'FooBar'.

+6

Ctrl+9 should select last tab

Skalman 14 ár síðan updated by eproxus 12 ár síðan 2
Instead of selecting the 9th tab, it ought to select the last tab, regardless of its position.

This would imitate behavior in Firefox and Chrome.
+6

Selective Editing ala KEdit (REXX)

Vic Schmekli 13 ár síðan updated by John Foley 11 ár síðan 1

Please, Please PLEASE add selective editing as in KEdit (REXX).  Your editor will blow all others away if you add this so it's not clumsy--no others do.

http://www.kedit.com/

KEdit is unfortunately no longer maintained.

Please? See I asked nice!

+6

I want a preference to prevent me from editing read-only files

Steven Johnson 13 ár síðan updated by Anvar Sosnitski 13 ár síðan 2
I use an SCM (Perforce) that keeps most of the source tree read-only; sometimes I forget if a file is checked out for editing or not, and start editing a non-checked-out file, only to realize it when I try to save. I'd like to instead be able to have ST2 just yell at me if I attempt to change a read-only file. Lots of other editors have this setting, please let me have it in ST2 as well. (If there is such a setting, well, nevermind, but I haven't been able to find it so far...)
+6

More control over mouse bindings

Simon Jamie 13 ár síðan updated by Baltasar Sanchez 13 ár síðan 1
Currently it seems that you can redefine mouse bindings but there's little or no documentation and there doesn't seem to be a way to provide a context or remove bindings altogether. I'd like to be able to completely remove some default bindings rather than have all my mouse buttons hijacked by Sublime Text.
+6

On a mac, build 2036, when I save a new file it assumes a .txt extension and asks if I'm sure I want to use a file extension that's not .txt

Brad Gessler 14 ár síðan updated by Jon Skinner 14 ár síðan 2
On a mac, build 2036, when I save a new file it assumes a .txt extension and asks if I'm sure I want to use a file extension that's not .txt. Forcing a .txt is a bit presumptious since most folks are saving .txt files with different extensions (like Ruby .rb files for example).

Screenshot https://skitch.com/bradgessler/rughc/sublime-text-2

Also, when I type in Cmd + A for the file name, I get an audible bell warning.
+6

Highlight the contents of the html style attribute like it was css code.

Ken Corbett 13 ár síðan updated by Sergey Zarovski 13 ár síðan 1

Right now it displays as a plain string.  The Komodo Editor has this feature and I always found it nice.

+6

Separate build/run actions

Jurriën Stutterheim 14 ár síðan 0
Currently, there is only the Build action available, but I would also like a separate Run action.
In case of Haskell, Build would call "ghc --make", while Run would call "runhaskell".
+6

Zoomed minimap

krant 14 ár síðan Uppfært 14 ár síðan 1
When viewing large log files minimap navigation become too sensitive - a little scroll movement can skip several pages. It would be really nice if minimap will act as zoom lense and scrolling become more smart.