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

+9

Add "save all on loss of focus" option

codex fa 13 anys updated by Stevan C Wing fa 13 anys 9
This is useful when interacting with tools outside of the editor.
+9

Reveal direcotry in Finder

Domi Barton fa 13 anys updated by Aaron Kuzemchak fa 13 anys 1
Add a "Reveal in Finder" option to the context menu of directories in project sidebar.

The "Reveal in Finder" menu is currently only available for files.
+9
Completat

Ability to bind back and forward mouse / keyboard buttons to switch files.

Chad Hancock fa 14 anys updated by Jon Skinner fa 13 anys 5
My Lenovo laptop (as well as the keyboard plugged in to my docking station) have keys that bind to front / back in a browser. Similarly, my mouse has 2 buttons that do that as well. On TextPad for windows, you can use those buttons to switch back and forth between files. Would be great to have that in Sublime as well.
Answer
Jon Skinner fa 14 anys
Mouse buttons are customizable in build 2046, and buttons 4/5 go to the next/prev file by default.
+9

Code-based markers

chaiguy fa 13 anys 0
I'd like to see the ability to add custom markers to the function list (and ultimately the minimap, if my idea of combining the two is accepted) by adding specially-formatted comments to the code itself.

CodeWarrior used to do this way back with "#pragma mark Label", but something like a triple or quadruple slash might work better these days (of course this would vary with programming language).

For example:

//// Low-level Functions
function applyInherit( ... ) {
...
}
+9

Can't open file with Sublime as default in Open With shell

Rob Graham fa 13 anys updated by RIJO JOSEPH fa 8 anys 6
I had older version installed before without issues, but since I updated to the most recent release, no matter what I do, I cannot get Sublime Text to show up in the Open With window of other programs. I browse for the programs .exe and check "Always use the selected program" but it wont load into the list of other programs. I can no longer associate my php files to Sublime. I've uninstalled and reinstalled Sublime too. Didn't help.

I've even gone through file association window in Control Panel but it just provides the same Open Files display. Sublime.exe WILL NOT load itself into the list. I now have to manually open my php files with sublime until I can get a fix for this.

I know there is an option during install to add a shell option to open with Sublime Text 2 when you right click a file, but this doesn't associate files to Sublime by default. It's very frustrating.
+9

Perl 5.10+ defined-or operator (//) breaks syntax highlighting

Michele Beltrame fa 13 anys updated by Italpro - M Beltrame fa 11 anys 1
Since version 5.10, Perl features a defined-or operator:


my $confpath = $ENV{CONFIG_PATH} // './lib';
my $confile = $confpath . '/myconf.conf';


which however breaks syntax highlighting, so the second line (and any following) don't get coloured as they do by using the true-or ( || ) operator.


By the way, the defined-or-assign ( //=) operator doesn't break syntax highlighting.


+9

Additional file exclude patterns for binary files

Oktay Acikalin fa 14 anys updated by Geert De Deckere fa 12 anys 2
Jon, I think you should add some more file patterns for binary files in the default Global.sublime-settings file like:
"*.png", "*.jpg", "*.jpeg", "*.gif", "*.bmp", "*.pxm", "*.psd"
+9

OSX Lion Versions

Raul K fa 13 anys actualitzat fa 13 anys 0
It would be great to implement the Auto Save and Versions feature introduced by OSX Lion. 
OS X Lion: About Auto Save and Versions


I don't know how difficult it'd be. 

Thanks so much,

Raul K

+9

change completion priority

vivo fa 12 anys updated by robertcollier4 fa 11 anys 1

The priority of completion proposals poses a problem:


According to the documentation https://sublime-text-unofficial-documentation.readthedocs.org/en/latest/extensibility/completions.html

Priority of Sources for Completions

 - Snippets

 - API-injected completions

 - .sublime-completions files

 - Words in buffer


I.e. the words in my current buffer are not even shown if there are many .sublime-completions


I would like change the priority, or have different keyboard shortcuts for different kinds of completions

+9

Better support for rails migrations

Anthony Underwood fa 13 anys 0
Textmate has snippets that allow modification of table columns in migration files - these simultaneously change the up and down actions. Please could this be ported to ST2