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

+26

Sublime to android platform

Dmitriy Medved 13 aastat tagasi uuendaja Robert Schalk 12 aastat tagasi 2
It would be very convenient to have such an application in a tablet. Whether it will release an application for Android??  
+25

vintage mode - R (replace many)

Greg Elliott 13 aastat tagasi uuendaja Pekk 12 aastat tagasi 4
r is currently implemented, but R is not (replace many characters). this is a super useful command when you're changing out numbers (say, 309 to 410).
+25

Allow tabs to be placed at the bottom

Heracles Papatheodorou 12 aastat tagasi uuendaja Hai Zheng 4 aastat tagasi 4

It would be great if there was an option for file tabs to be placed at the bottom (or perhaps left / right too) of the window. The current paradigm of browsers prefers tabs on the top, but if your taskbar is at the bottom, it makes more sense for them to be closer to it. Opera has allowed such functionality for eons.

Congrats on your otherwise great product; I love the code "bird's eye"!

+25

Keep Afloat / SIMBL support

Adam Breen 13 aastat tagasi uuendaja Matt Groth 8 aastat tagasi 4

It would be great if you supported SIMBL accessibility hooks - particularly so that Keep Afloat (http://infinite-labs.net/afloat/) can work with Sublime Text 2.


This would mean that I can have two ST2 windows open, with one floating above, while I type in the one beneath.  This avoids having to change whatever layout I have in the subordinate window, but lets me see code from the other while I type.

+25

Use "sticky headers" to display current class and method

Desmond Brand 11 aastat tagasi 0
This idea is not specific to Python, and would probably be useful if implemented generally based on indentation, but I'm going to describe it in terms of Python for clarity.

I often use "go to definition" to jump directly to a method. But it's sometimes hard get context because I can't see which class the method is inside of - I have to scroll up, sometimes really far, to see what the class is.

My idea is to reserve one line at the top of screen for each level of indentation of the current line. Then show the "parent" line as a "sticky header" at the top of the editor. The "sticky header" is often found in iOS, for example the contact list. Here's a video that illustrates the point. The class would always be visible on the first line, the method visible on the second. Maybe it could be useful to go further than this and make if statements and loops sticky, but I'm not sure about that.

Here's an example of the code review tool Phabricator doing this. Note the line number of the class is 185, but the first line shown is 201. The rest of the body has been collapsed so that the class line remains visible for context.


For a more extreme example, consider the following 5 line display. Obviously on such a small display the lines lost to headers reduce the amount of space you have to see the actual body, but a small example makes it easiest to see how this would work.
class LineZero(object):
    first_line = "bar"
    def second_line(self):
        third_line = "baz"
        fourth_line = 42
Right now if you scroll that, the class line disappears from view:
    first_line = "bar"
    def second_line(self):
        third_line = "baz"
        fourth_line = 42
        fifth_line = 5
I'm proposing that the class statement (as the root node in the tree of indentation) become "sticky", so instead the first line of the class scrolls out of view like this:
class LineZero(object):
    def second_line(self):
        third_line = "baz"
        fourth_line = 42
        fifth_line = 5
Then if you scrolled one line further, the method line would be sticky, and the first line of the method body scrolls out of view:
class LineZero(object):
    def second_line(self):
        fourth_line = 42
        fifth_line = 5
        sixth_line = None
+25

Keep undo history across sessions, per file

Vincent Voyer 13 aastat tagasi uuendaja Brian Herold 13 aastat tagasi 1
Would that be possible?

So that we keep an undo (ctrl+z) history per file across sessions. So that if I close my editor, re-open, I'll be able to still ctrl+z some changes.
+25

Insert file creation date or current date into snippet

Chris Browne 13 aastat tagasi uuendaja Kiran Singh Randhawa 9 aastat tagasi 1

It would be great if there were a snippet variable for various dates (current date, file creation date, file last-modified date) in order to craft informative file-heading comments that give away some clue as to the age of a file and how often it's updated.

+24

Support vim's scrolloff

Harald Lapp 14 aastat tagasi uuendaja Oktay Acikalin 14 aastat tagasi 1
Vim has a very nice feature called 'scrolloff' which allows to define a minimal number of lines to keep above and below the cursor when scrolling. It makes it very convenient to work with files where there's already content below the cursor ...
+24

Mouse gestures

Nicolay77 13 aastat tagasi uuendaja Andrzej Makowiecki 13 aastat tagasi 1
Like the ones in Opera browser.
+24

"Zoom" reset

Andrew Montag 13 aastat tagasi uuendaja Craig Patik 13 aastat tagasi 2
I like using Ctrl + Scroll to change the font size (easy for presenting to other people) but the only thing missing is Ctrl + 0 to reset!