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

+2

Clojure regexes are not parsed properly

Anthony Grimes 13 years ago updated 13 years ago 2
Here is an example regex: #".*\"(.*)\".*"

That regex breaks Clojure highlighting, making Sublime Text 2 thing that the last quote is the start of a new string.
+2

Command palette crash

Reinier Kip 13 years ago updated 13 years ago 3
The command palette crashes when one does as follows:

1. Ctrl+P: Search for a file
2. Mouseclick on any entry.

This does not occur when selecting an entry by pressing RETURN.

Platform:
Windows 7 64-bit
+2

There should be an easy way to add a new line to a comment.

Patrick Paul-Hus 13 years ago updated 13 years ago 0
When typing a comment in ruby, I'd like it if either pressing return would automatically add a new commented out line or if there was a shortcut to do so. I believe in Textmate fn-return does this.
+2

smart indent on new line after brackets

cresus18 13 years ago 0
Try typing the following then hit the Enter key to insert a new line:

$foo = substr_replace($bar, ' ON(', $pos, $length);

A bug makes your new line start with an extra indentation. If you remove the open bracket within the string in the function call, it will now work as expected.

(Sublime Text 2 build 2181)
+2

Execute selected code

Рябов Валерий 12 years ago 0

It would be great to have opportunity building not a file, but execute only selected region of code. It may help to work with big SQL-scripts, for example.

+2

Scala code indents when there's an open parenthesis in a string

Simon Morgan 13 years ago updated by Aleksandar Prokopec 12 years ago 1
Create a new Scala file and enter the following:
println("(")

When you hit enter at the end of the line, the new line is indented when it shouldn't be.

+2

HTML perfect completion

alpha logic 12 years ago 0

HTML perfect completion should work mainly in 3 stages:

1.tag completion (realized in Sublime Text 2);

2.attribute name completion (realized in Sublime Text 3, not tested yet);

3.attribute value completion.

Completion must start with tag completion (works perfectly in Sublime Text 2).

Tag completion must be followed by attribute name completion (not all the attributes, but only the specific attributes for a specific tag).

Attribute name completion must be followed by attribute value completion (not all the values, but only the specific values for a specific tag), with cursor placed between quotation marks "|".

+2

windows open folder refresh folder contents

Helly Hao 13 years ago 0
as files or folders in the opend folder changed,it's nice to refresh the folder content by some order
+2

Autocomplete suggestions are not in expected order

Craig Campbell 13 years ago updated 13 years ago 0
+2

Mousemap bindings in menu

James Brooks 14 years ago updated by .:. brainsik 13 years ago 1
A menu item, like the key bindings would be nice so you can quickly change mouse bindings, as you can keys.