Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.
smart indent on new line after brackets
$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)
Execute selected code
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.
Scala code indents when there's an open parenthesis in a string
println("(")
When you hit enter at the end of the line, the new line is indented when it shouldn't be.
HTML perfect completion
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 "|".
windows open folder refresh folder contents
Mousemap bindings in menu
Find and replace improvements: git grep and Vintage mode compatibility
- I would definitely like an option to use the `git grep` command as it's much faster to search through the entire project.
- Currently, one has to type in the absolute path of the folder to your project in the include filter, if you'd like to search just within a specific folder. Why is this necessary? Is there a way we could have an option to use a relative path? I've never needed to search an outside folder on my machine from within my current project....
- If it's not too difficult, I'd also like a Vintage mode shortcut for getting into and manipulating the find/replace panel. It would be awesome if `%s/../..` and `s/../..` would open and enter data into find/replace dialog, with the omitted "%" triggering the full path of the current file to be injected into the open files filter (middle input).
Improved Bookmarks
- Save and Restore Bookmarks for a file on Close and Open
- On the Bookmark menu print not only the line number where the Bookmark is placed, but also a part (beginning) of this line -- it'll help a lot to navigate within Bookmarks (specially when the function names are used or particular part of the text/code)..
- On the "minimap" show a color horizontal line for every Bookmark within a file -- it will help a visual navigation within a file and a fast click to the right position.
Closing a tab will cause multiple file highlights in the sidebar
Customer support service by UserEcho