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

+1

Split up HTML highlighting to avoid unwanted scripting highlights

Niels Martin Hansen fa 11 anys 0

In version 3, I have an annoyance where I'm using the Jinja2 HTML templating highlighting plugin, but also get suggestions for various PHP completions, which are completely inappropriate. At the same time, I can't take the PHP support out of the default HTML package without breaking PHP highlighting completely.


My suggestions is to split HTML highlighting up into a "base HTML" highlighter, which only does actual HTML (and probably CSS and JS), and then extend it with the appropriate scripting/templating languages as needed. I haven't studied Sublime's highlighter interface in detail, but as far as I can tell it should be possible to do.

+1

New icon doesn't work with small icons

Griffin Smith fa 13 anys updated by Pavel Mocan fa 13 anys 2
The new icon in Build 2181 still looks like the old icon when the taskbar is set to use small icons.
http://i.imgur.com/4Ckoo.png
+1

Split into Lines / surround selection with ' or " does not work

Andrej Kvasnica fa 11 anys updated by Patrick McDonald fa 11 anys 1

  1. Ctrl/Cmd + A Select All
  2. Ctrl/Cmd + Shift + L Split into Lines
  3. ' Surround every line with quotes
the 3rd. step does not work for me on st2 (2.0.1 build 2217), the selection gets replaced by ' or ".

According to http://stackoverflow.com/questions/10709869/how-to-paste-text-to-end-of-every-line-sublime-2/13193355?noredirect=1#comment23216904_13193355 it should surround selection with ' or ".

+1

command-p is a pretty strange choice for Goto Anything....

Micah Freedman fa 13 anys actualitzat fa 13 anys 2
especially on a mac where that generally means "print"
+1

automatic update mentions current version instead of new version

Anders Ingemann fa 13 anys actualitzat fa 13 anys 0
When I was prompted by automatic update to install 2165 it said 2139 had been downloaded and was ready to be installed, which was my current version.
This is on a mac
+1

Cut/copy without selection should move caret to the beginning

Don Barthel fa 11 anys actualitzat fa 11 anys 1

When you cut or copy without first making a selection the current line is the target (good!) but to make it more useful the caret should move to the beginning of the line because the only paste operation that subsequently makes sense is from the start of a line.

+1

Save multiple panes and files position

Martin Supiot fa 12 anys actualitzat fa 12 anys 2
Sublime Text save panes configuration and opened files on exit. I wish I can save multiple states, one by bug or feature, and switch between them when I need. 
+1

Don't close project window

Geoffrey Clements fa 13 anys updated by Stefan Trkulja fa 11 anys 2
If you hit Cmd-W a bunch of times to close all open files, ST2 should not close the project window if there are no more files open. In other words, Cmd-W should close files, but not the project window.

ST2 can close the window if the window is not associated with a project. For instance if the subl command line tool was used to open a file or directory.
+1

hightlight current linge

Cyril Lamotte fa 12 anys actualitzat fa 12 anys 2
Hi,

I noticed I often search the cursor in the screen when the ST's window is unfocused, even i focus the window, the cursor is not very visible.
I suggest the possibility of highligh the current line.

According to me, it will be great.

Sorry for my english ;)

Thx
+1

Add "Mac OS Roman" text encoding

Steve McLeod fa 12 anys actualitzat fa 12 anys 2

On the Mac version, in "File" -> "Reopen with Encoding", there is no "Mac OS Roman" encoding. I'm currently working with a file that has this encoding, and it would be nice to have it in the list.