Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.
Textmate like snippets (at least in LaTeX)
In TextMate in LaTeX bundle, you have 4 different types of calling snippets (I will put a very understandable example, $0 is the placement of the cursor):
- LaTeX symbol based on current word. i.e. If you write s and you use this command you get \sigma $0.
- Command Based on current word. i.e. if you write s and use this you get \sum_{$1}^{$2} $0.
- Environment based on current word. i.e. if you write s and use this you get \begin{s} $0 \end{s} (or what you have defined before).
- And, at last, Snippets (true snippets, as simple as in Sublime Text). i.e. if you write mat and press Tab button you get \begin{${1:pvbPVBsmall}matrix} $0 \end{matrix} (exactly, at least the same way as in Sublime Text).
I wish you could add this option to your program, I mean, one (configurable) key combination for each one of this four kinds of snippets. Anyway, I wait for your answer (saying yes or no, but please tell me you read that). In case of NO as answe, I would really appreciate to hear about your reason.
Ah, and a very very nice program.
Some way to choose which window new files are opened in
Currently, opening a file in the Finder will open the file in the last-used window (if "open_files_in_new_window" is disabled, which imo it should be by default). However, this is not very intuitive as I won't necessarily want the file to end up in that window.
It would be handy if we could designate a "default" window that new files are opened in (perhaps clicking a little icon on the window somewhere).
The way BBEdit does it that I find works quite well is that new files (that aren't already open elsewhere) open in a single non-project window. Typically I will have a bunch of project windows open and another catch-all window for misc files I'm working on that don't belong to an open project.
Option to ensure file ends with empty line upon saving
(For those familiar with SciTE, I am talking about the option named: ensure.final.line.end.)
Open function reference when pressed F1
1. With a reference help file (chm), searching for the function there
2. Going to the language reference site (i.e.: php.net) and search there
So the suggestion is to add a setting to set a help file path which sublime will open and search for the function behind the cursor and the when F1 is pressed.
Or if not configured, open a browser and go to the language site and it's function page
The default HTML snippets are not up to the HTML5 standard
The default HTML snippets <script> and <style> and <link rel="stylesheet" href=""> style have type="text/css" or type="text/javascript", which are both irrelevant in HTML5. They are quite annoying to delete.
Crash when changing to 4 column layout
different color themes in mulitple windows.
use case:
- many different projects with similar file structure in many opened windows
- sublime displays project name only in the title bar if no file is opened
- hard to tell which project belongs to which window
idea:
- allow assignement of color theme in the sublime-project file.
- so every project is opened with it's own color theme
- you can see immediatly what's the meaning of this window
Need a phased (or at least blinking) block caret.
Awesome incremental symbol find
The idea is to use something similar to "Go to anything" where you only type some letters that are contained in the symbol you want to go to, and you automatically go to symbols containing those letters in that order, but limiting the search to symbols inside the document (since most languages, if not all, support the same pattern for symbols, and you don't want to search text or anything like that, just references to functions or variables).
Imagine you have a document like this:
void function () {
doSomething (whatever, "this is a string");
if (runUltraComplexCheck (var1, var2)) {
simple_variable = 1;
doSomethingElse ();
}
}
Now, the idea is that if you are at the beginning of the document and you run "incremental symbol find" and you press "f" the first word "function" would be selected. If I type "d" then the first "doSomething" would be selected, and so if I run find next, then the "doSomethingElse" symbol would be selected. It should behave as a normal search so find previous and find next would work.
On the other hand, imagine I want to go to "doSomethingElse", then I go to incremental symbol search and type "dse" then automatically doSomethingElse would be selected. In the same scenario, typing "ru" or "rucc" or "run" or "rcheck" would all select "runUltraComplexCheck", which is the only word in that document matching that pattern.
Again, if you type "sv" in incremental symbol search, you would go to "simple_variable".
I think this kind of feature would be as awesome as "Go to Anything", and no other editor has something like this... I guess it can be written using a plugin, but anyway, native would be great.
To sum up the features:
- incremental symbol find inside current doc
- a symbol is defined as [_a-zA-Z][_a-zA-Z0-9]+
- discard searching inside comments
- discard searching inside text strings
- be able to use find next / find previous
File Modified status can scroll off tab. Move to left?
I should always be able to glance at the tab strip and identify which files are modified and which ones are not. Because of this issue, sometimes it's impossible to tell, which is frustrating.
Even changing to an unknown-status tab doesn't help, because the obscured name doesn't appear. Mouseover of the tab shows the file location, still no help. The only way to tell (in Mac OS) is because the icon at the top of the window title bar becomes slightly grey for modified files (I believe this is a systemwide visual effect). There should be a simpler way to know at-a-glance what's modified and what isn't.
(Using Build 2095, Mac OS)
Servicio de atención al cliente por UserEcho