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

+2

Whitespace trimming leads to issues when autosave is enabled

zee 13 ár síðan Uppfært 13 ár síðan 0
Enabling both trim_trailing_white_space_on_save and save_on_focus_lost leads to somewhat unpleasant behavior. For example, I'm editing a python file and I've got the cursor on a new line (properly indented to 3-4 tabs/4-space groups), or I've just started writing an assignment (with something like foo = <cursor> in the editor). If I switch to some other app and then switch back, cursor will jump to the beginning of line or erase whatever spaces I had at the end of current line, and then I'll have to reinsert these spaces manually. This is even more annoying if this is the last line and ensure_newline_at_eof_on_save is also set — the cursor is forcibly moved to the next line whenever you cmd-tab. I understand that ST doesn't support virtual whitespace (hopefully it will do in the future), but perhaps you could add some hack to fix this specific issue?
+2

Don't destroy files when encountering characters that can't be encoded

Brynjard Øvergård 12 ár síðan 0

Today when Sublime saves a file and encounters a character that can't be encoded in eg ISO-8859-1, it automatically converts it to UTF-8 (and informs you with a popup dialog with just one option - OK). This destroys the file (UTF-8 encoding is in many cases non reversible), so it would be nice if this instead was a question. It would also be very nice if Sublime could highlight or somehow search for unencodable characters (characters like non-braking space is _very_ difficult to distinguish from a normal space).

+2

Make pressing CTRL-F while the search bar is visible should put the field in focus rather than closing it

Acorn 14 ár síðan updated by Alan Andersen 14 ár síðan 1
I often have the problem that I press CTRL-F because I want to search for something, begin typing, and find that I am overwriting some text on the page.

This is because the search bar was already open when I typed the shortcut and was therefore closed.

I think it would be more user friendly if pressing the shortcut just put your focus in the search box, and if you want to close the bar you should press ESC (which closes it already).
+2

I would love to be able to treat functions independantly of files on the screen.

Philip David Harvey 13 ár síðan 0
There is an IDE coming called Light Table that does this. But it will not support the languages I like. To be able to treat method blocks as independent entities would be great.
+2

Open new document on "Open Files" empty space click.

Murray Nuttall 13 ár síðan 0
Like the tab bar functionality, but on the "Open Files" sidebar.

I don't use the tab bar because it doesn't give me enough file information when editing a lot of files. So I hide the tab bar and use the "Open Files" sidebar instead.

I would like to be able to click, or double click, empty space in the sidebar to create a new document.
+2

Disable autosave

Алексей Ракеев 13 ár síðan Uppfært 13 ár síðan 6
How could I turn off damn autosave "feature"?
It recreates files deleted from sidebar again and again. WTF?
+2

Ability to disable a keyboard shortcut

Simon Boudrias 12 ár síðan 0

 With the growing number of community packages, each one adding their own keyboard shortcut, we're to a point where we can run into conflict. May it be internationals keyboard configuration, shortcuts overwriting others plugins ones, etc.


I think we should be able to disable/protect some specific keyboard key from being used. This would allow the user to prevent packages from removing some important characters or system wide shortcuts.

+2

Search for a word under cursor

Maxim Razin 13 ár síðan updated by Martin H 13 ár síðan 1

Is there a keyboard shortcut or plugin to search for other occurrences of a word under cursor, like vim * and # commands?

+2

Option: show open files inline rather than in a separate list

muffy 12 ár síðan 0

I prefer to display open files in the sidebar instead of in tabs. It would be great to have an option to show open files inline in the folder view rather than a separate list. I think of my files grouped like my folder structure and frequently switch between files in the same folder. The open files list is a jumble of files. I can drag them around but that's more work—I already organized the files into folders. Along with this when opening a project, folders containing open files should be expanded by default so the files are visible. Please keep the one-click to display feature for open files though. In fact, I suggest it be the default behavior.

+2

javascript auto completion on prototype

julien barbay 14 ár síðan 0
I really don't know if it's easy to do so, but i'd love to see javascript autocompletion on custom functions, based on prototype discovery.

I'm not really sure how to do this, thing i'm sure is i'm gonna try ; but any support / help would be very cool.