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

+35

Add AppleScript support

Stian Håklev 12 years ago updated by juan falgueras 8 years ago 10
I love to be able to script my applications, and build workflows. It would be very useful if it were possible to interact with ST2 via AppleScript. Even a simple bridge that let you execute a command (just like when you're binding keyboard shortcuts) through AppleScript would instantly expose most of the application (because of the way it is built). For example a way for a script to open a new window with two files in each pane, in a certain layout etc. (Dynamically).
+35

Multiple rows of tabs

chaiguy 12 years ago updated 12 years ago 2
There needs to be some way of handling many open tabs, such as wrapping them to another line.
+35

Folders vs Groups (virtual folder / workspace)

Luke Scott 13 years ago updated by Michael Kaiser-Cross 12 years ago 1
There seems to be two key areas of the "side bar". Active files (open), and Project files. Active files are under "Files" or "Group #", and Project files are under "Folders".

I feel that "Files" are a bit redundant when you have tabs. What would be better is a "virtual workspace" of files/folders that aren't open. Basically have a "Group" that is a "virtual folder" that contains references to other files/folders. If the side bar looked like this (https://github.com/jezdez/textmate-missingdrawer) you could give actual folders a blue icon and groups a yellow icon.

The side bar would essentially be what's under "Folders" (with a different look). You can add physical folders to the project. When you add a "Group" they are mixed in with top-level folders with a yellow folder icon. You can drag other folders/sub-folders/files into a group and have it copy those references.

The reason behind this is "Groups" are a temporary workspace that can be easily removed (delete key deletes reference without asking). "Folders" are permanent parts of your project (delete asks you if you want to delete the actual file). With "top-level" folders you can either delete the actual folder or reference.

I know some others may actually prefer having "active files" in a side bar instead of tabs. This should be a different stackable panel.

With the tabs themselves, would be nice if they worked like Firefox's tabs (don't squish tabs too much, they fall off at some point and arrows appear, and a menu is on the right side to see all tabs).
+35

Sublime Text port on FreeBSD

Abhijit Soman 11 years ago 0
It would be nice to have Sublime Text port for FreeBSD


+35

Generate a sequence of numbers; increment replace

Chris Casey 12 years ago updated by Dhirendra Jaiswar 7 years ago 8
This is a regex feature that seems to be unique to TexPad on Windows. From their help files:

Expression: Effect: 
\i Replace with numbers starting from 1, incrementing by 1. 
\i(10) Replace with numbers starting from 10, incrementing by 1. 
\i(0,10) Replace with numbers starting from 0, incrementing by 10. 
\i(100,-10) Replace with numbers starting from 100, decrementing by -10. 


Examples:
To insert line numbers at the start of each line: 
Search for:^ 
Replace with:\i 
To update sequence numbers of the form Axxx, Bxxx, … ,Zxxx where "xxx" is any number >= 100, independent of the letters, which are to be preserved: 
Search for:\([A-Z]\)[1-9][0-9][0-9]+ 
Replace with:\1\i(100) 

That would be seriously cool. We're looking at migrating from TextPad to Sublime, and would love to retain this feature.
+34

Vintage mode requests

Aaron Kavlie 13 years ago updated by David Niergarth 12 years ago 8
A few requests for Vintage mode:

- Don't know any way to escape from highlight mode, aside from clicking with the mouse. In vim ESC clears the highlight. Please add this.
- It would be great if command mode had a block cursor, rather than an underline

- Though not a standard vim feature, matchit.vim allows me to jump between open and close html tags with %. I don't know of any way to do this in Sublime Text (Vintage mode or otherwise).

Sublime Text 2 is fantastic so far, and keeps getting better. Thanks for all your hard work!
+34

Command Palette should include everything

Oliver Rutherfurd 13 years ago updated by robertcollier4 11 years ago 5

Maybe I'm misunderstanding or missing a setting, but it appears things have have key bindings (Open File, Close File, etc.. don't appear) in the command palette.  This is frustrating as a new user, since I don't know all the shortcuts and why exclude these from the list?

+34

provide a way to flatten sidebar tree structure so it only includes directories with files, like intellij

Brett Dargan 13 years ago 0

some projects have an annoying amount of directories, without files, just more directories to navigate down till you get to files.

intellij and some other editors. 


provide a way to flatten the directory tree. so instead we have a list of shortened dir names for those dirs that contain src files.


in java projects: instead of a collapsed directory tree that needs expanding and takes up lots of space in the sidebar with uninteresting dirs like: src/main/java/com/blah/blah...
allow a view with a list like structure:
src..domain
src..web

+34

Make Goto Anything work when you're in the text field for find

Tim Haines 12 years ago updated by Sakae Marcus 12 years ago 6
When you're in the find box (Command-F), it would be nice if the shortcut key for 'Goto Anything' (Command P) still worked.
+34

Navigate in the Find Results buffer

Kai Grossjohann 12 years ago updated 12 years ago 0
I always have "Use Buffer" turned on when doing Find in Files.  I would like some keybindings to browse the Find Results buffer:
  • Go to next/previous search.  (A search begins with a line "Searching 999 files or foo" and ends with a line "42 matches across 21 files.")
  • Go to next/previous file.  (To the next line that contains a file name followed by a colon.)
  • Go to the next/previous search result.  (A line that contains the line number followed by a colon.)  Note that this is different from F4 -- I want the cursor to move in the Find Results buffer but not the corresponding find result to be opened.
What would also be cool would be advanced editing:
  • Delete current file from Find Results (= the file name heading plus all matches from that file).  Delete current search from Find Results (= the whole section from "Searching 99 files for" to "9 matches across 9 files").
  • Delete all but the current search (= the search I'm looking at) from Find Results.
  • Delete all but the most recent N searches from Find Results.
  • Fold all searches.
  • Fold all files based on matching file name criteria.  E.g. when searching in my Packages folder, I often get lots of matches in the SublimeCodeIntel package, and it would be cool if I could hide those all in one go.