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


coffeescript and stylus syntax checker

Daniel Steigerwald 6 years ago • updated 6 years ago 0
Live syntax checking, to ensure that watches work well.

{ "command": "move", "args": {"by": "words_ends", "forward": false} } doesn't do anything

Jocelyn Turcotte 6 years ago 0
Same for { "command": "move", "args": {"by": "word", "forward": true} }. Semantically it would do exactly what I want, but the keys aren't doing anything if I try to configure it.

This is not the standard way I know, but I like to configure it that way (stops before words) for ctrl+right and keep the normal way (stops after words) for ctrl+shift+right.

So if I want to go around and select text from the beginning of a word to the end of another word it just snaps right where I expect it to.

This is the last missing piece that annoys me, if you fix it I'll buy you a license :)

Haskell "module" keyword versus identifier with same prefix

Tony Morris 5 years ago 0

 The word "module" is a Haskell keyword, however, creating an identifier with a prefix of "module" is also valid. e.g.

modulez = "hi" -- valid Haskell

Unfortunately, this causes the editor to think I have used the module keyword, which screws up highlighting.


Auto-complete bug

guest 6 years ago 0
Hi: try this  type \ then type "
expected result \"
but got \""

Jump to test

Patrick Turley 7 years ago • updated by Ben Langfeld 6 years ago 3
In TextMate the command is Ctrl+Shift+Down. This jumps back and forth between a file and its test. This would be a very useful feature for the TDDers out there.

Better visual cue when in multi-insert mode

Dave Druelinger 6 years ago 0
Sometimes, you can end up in multi-line mode without noticing or forget to escape out of it and you end up typing gibberish in multiple places in your document.  It would be great to have some sort of obvious visual signal to constantly remind you that you're in multi-line mode.  Currently, the rather unobtrusive text in the bottom-left corner of the screen is the only notification.  It's quite easy to miss as it is.

On Selecting Multiple Lines

hced 7 years ago • updated 5 years ago 3

I have a small quibble with the way you select multiple lines of text in Sublime – or technically, how you see/perceive what's been selected when doing so.

Let's say you have these example lines below (throw in a couple empty lines above and below) …

Maecenas faucibus mollis interdum.
Aenean lacinia bibendum nulla sed consectetur.
Nulla vitae elit libero, a pharetra augue.

… To reproduce the behavior I'm referring to, please follow these steps:

1. Place the cursor on the beginning of the first line, right before the 'M' (in "Maecenas").
2. Press and hold Shift, then press Arrow Down 3 times.

The cursor lands on the line below the selected lines.

Compare with e.g. Vim's Visual Line selection (pressing capital V in normal mode). I'm hoping for Sublime Text to have the same behavior as when selecting Visual Line in Vim – which is also default in the vast majority of editors and places where you can edit and select text, i.e:

Highlighting only the lines you've selected and momentarily not showing the cursor.

So, my questions are:

- What is the motivation to employ this behavior of selecting multiple lines of text in Sublime?

- Is there a way to switch the behavior into the one that I (personally) am more used to?

I'm posting a reference image that shows the behavior in a few editing environments:

Sidenote: also, in Sublime Text, when selecting in the opposite direction (Shift-Arrow Up) it doesn't leave the cursor alone on the line above the selection. I think this holds some ground for my proposal to adapt Sublime to a more consistent behavior.

Reason for my personal preference towards the more common behavior is, well, because I'm more used to it (from editors like TextMate). In Sublime, it feels slightly more confusing when selecting, copying and pasting multiple lines of code. I believe I *can* get used it, though, and this is not a be-all and end-all issue, but it would be nice if it was possible to accommodate for people like me, who prefer the standard way, if I may call it such.

Regardless of what, in a broad perspective, I'm of course immensely pleased with Sublime Text!


vertically lock current line

Elliott Chenoweth 5 years ago 0

I would really appreciate an option to lock the current line to a vertical position such that there are a constant number of lines before and after. Scrolling would not move the current line.


'Add line before' adds extra indentation level

iconv 7 years ago • updated 6 years ago 2
If the current line has no indent, Ctrl+Shift+Enter adds extra indentation.

Remote Diff

Matt Davis 6 years ago 0

 I've seen feature requests for diff functionality and for ftp integration but  it would be really great to combine these two components so that remote diffs are possible  like with PHPStorm.  This way I can diff my local copy with the deployed version and make sure that I'm not making any unwanted changes.