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 12 ár síðan 0
(needs a 'was_already_full_screen' var)


+11

Code folding for diff (patch) files

Kai Grossjohann 13 ár síðan Uppfært 13 ár síðan 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 13 ár síðan updated by David Fooks 12 ár síðan 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 13 ár síðan updated by robertcollier4 12 ár síðan 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 13 ár síðan updated by Hay 13 ár síðan 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 14 ár síðan updated by Neville Bagnall 13 ár síðan 1
For example, using a :line:column syntax.
+11

Freehand Editing Mode

Davorin Šego 13 ár síðan updated by niteshade 8 ár síðan 2
Allows the caret to move past end of line and inside tab characters.
+11
Answered

Setting line numbers color?

lashtal 14 ár síðan updated by Jon Skinner 13 ár síðan 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 14 ár síðan
Added in build 2020, you can now use the "gutterForeground" key in .tmTheme files
+11
Lokið

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

funkjedi 14 ár síðan updated by Jon Skinner 13 ár síðan 2
Answer
Jon Skinner 13 ár síðan
Added in 2165
+11

PHP inside a Javascript string Highlighting bug

Mauno Lempiäinen 13 ár síðan updated by James Homer 13 ár síðan 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.