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

+5

"unsaved changes" status set when file wasn't changed

Jeff Petkau 11 year бұрын 0

ST sets the "unsaved changes" if the file is removed from disk, even if not modified in ST. This leads to the following sequence of events:

1. open a file from removable media in ST

2. temporarily unmount the media

3. remount the media. ST now thinks it has changes to the file.


(This can also happen when switching to git/hg branches where those files are missing, or with network-mounted files that temporarily disappear when credentials expire.)


At this point ST will refuse to load actual external changes to files (e.g. when switching git branches) because it thinks it has modifications. You have to manually close every file, with a warning message about discarding alleged "changes" for each one.


+5

When you rename a file via the sidebar, the filename textbox should be focused

Caleb Land 13 year бұрын updated by Greg Sadetsky 12 year бұрын 1
On OS X 10.7.3 with Sublime 2 2181, when I control+click a file in the sidebar and select rename, the rename panel comes up from the bottom, and it looks like the filename is selected, but when I type, nothing happens. I have to click the filename textbox to edit the contents.

It appears that my focus is still in the sidebar, since I can use arrow keys to move the selection around in the sidebar.
+5
Аяқталған

User-defined keyboard shortcuts should appear in menus

Ben Willmore 13 year бұрын updated by Jon Skinner 13 year бұрын 0
For example, if I assign a keyboard shortcut to the reindent command (which doesn't have a shortcut by default), the shortcut should appear next to Edit->Line->Reindent. This provides a way to for a user to relearn shortcuts which he assigned and then forgot.
Answer
Jon Skinner 13 year бұрын
In the general case, they do.

Please note though, that on Linux and OS X, the menu APIs are limited, and not all possible key bindings are able to be displayed on the menu (e.g., it's not possible to display sequence key bindings in the menu on Linux)
+5

Quickly adding BOM to current file.

abonec 13 year бұрын 0
Very often utf files don't have BOM. To add this need to open uconv and convert or write own script. Please add this feature.
+5

cmd+n should open a new window

Ben Willmore 13 year бұрын жаңартылды 13 year бұрын 0
Currently, if there are no windows open (on Mac at least), cmd+n does nothing. You need to press cmd+shift+n to open a new window. I don't see why cmd+n shouldn't do the same as cmd+shift+n in this situation, and that would be handy for Mac users' muscle memory.

[Edit: This could be rephrased as: "cmd+n should do the same as File->New File when no window is open"]
+5

Provide hard wrapping like vim's textwidth

Luke Hutton 12 year бұрын updated by Michael Seiwald 12 year бұрын 2

It'd be great if Sublime would support vim-esque hard text wrapping (eg. 'textwidth') without having to invoke a command. The current approach, being done retrospectively, makes it more likely that weird artefacts are introduced, such as paragraphs being collapsed (when editing LaTeX, I often find lines with individual commands are collapsed into one line, breaking it in the process). Hard wrapping as-you-type would also make it easier to track changes on a line-by-line basis in version control, whereas again the current approach often leads to equivalent lines being changed in less predictable ways.

+5

Talk to subethaedit development team and look at merging their shared code capabilities with sublime text

Ed Henderson 13 year бұрын жаңартылды 13 year бұрын 0
+5

large file open speed

Robert Teshinsky 12 year бұрын 0

When opening large files, SB takes too long to "cache" the file.

Modern text editors should open large files much faster. Per load the inital block and do your cache in the background or some such.

I have a 300MB log file (all text). It takes about 3 seconds in Notepad++.

It takes about 30 in sublime text.

+5

open multiple files from OS context menu

David Warburton 13 year бұрын updated by James Cooper 13 year бұрын 2
One feature I miss from my old text editor (edit plus) is the ability to select multiple items in the windows explorer and right click them to edit them in the editor.  Right now I have an explorer window open with 15 small text files in it and I need to inspect each one, so I guess i'm going to loop over them in powershell and open each one individually.

This should be an easy feature to add to Sublime Text 2, it's just an additional registry entry IIRC (on windows at least).