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

+11

Exiting distraction free mode exits full-screen mode also [osx]

Gregg Lind fa 12 anys 0
(needs a 'was_already_full_screen' var)


+11

Code folding for diff (patch) files

Kai Grossjohann fa 13 anys actualitzat fa 13 anys 0
I would expect code folding for diff files to fold hunks and files.

So if I do "Fold All" on a diff file, I would see a list of files that are patched by this diff.  Unfolding such a file, I would get a list of hunks, and unfolding a hunk I would get the contents of that hunk.

What do people think?
+11

Using F3 in a macro

Andrew Hampton fa 13 anys updated by David Fooks fa 12 anys 1
I bought ST2 a few months ago but ending up switching back to Notepad++ because I use this pattern so much. I'd like to be able to do this:

Ctrl+f
[type search query]
Esc
Ctrl+q
F3
[some action]
Ctrl+q

The macro would then find the next instance of my search query, then perform [some action].
+11

Encoding missing: UTF8 with BOM

Pelle Poluha fa 13 anys updated by robertcollier4 fa 12 anys 1
Encoding missing: UTF8 with BOM (Byte Order Mark). Current UTF8 creates a file without BOM. Need to open the file in Notepad++ for this.
+11

New windows should use position of last closed window

Ben Willmore fa 13 anys updated by Hay fa 13 anys 1
If I close a window, and then create a new one, the position and dimensions of the old window should be re-used for the new one. Currently (on Mac), new windows are always centred on the screen.
+11

Ability to go to a specific column in Goto Anything

Oleg Oshmyan fa 14 anys updated by Neville Bagnall fa 13 anys 1
For example, using a :line:column syntax.
+11

Freehand Editing Mode

Davorin Šego fa 13 anys updated by niteshade fa 8 anys 2
Allows the caret to move past end of line and inside tab characters.
+11
Respost

Setting line numbers color?

lashtal fa 14 anys updated by Jon Skinner fa 13 anys 1
It appears line numbers color depend on the settings.foreground key, with a little transparency added.
I'd like to make line numbers almost transparent, so they wont introduce visual noise but still be visible, is it possible?
Answer
Jon Skinner fa 14 anys
Added in build 2020, you can now use the "gutterForeground" key in .tmTheme files
+11
Completat

Add "Re-open closed tab" to the tabs context menu (like in Chrome)

funkjedi fa 14 anys updated by Jon Skinner fa 13 anys 2
Answer
Jon Skinner fa 13 anys
Added in 2165
+11

PHP inside a Javascript string Highlighting bug

Mauno Lempiäinen fa 13 anys updated by James Homer fa 13 anys 1

Sublime doesn't recognize php tags inside a javascript string:


$addDialog = $('<div><?php echo $this->Form->input('parent_id', array('type' => 'hidden', 'div' => false));?></div>');

It highlights the above php code as string and 'cuts' highlighting the JS string when ever there is a ' chracter in php code.