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

+5

Prevent empty document creation on start

Nick 13 years ago 0
ST2 always seems to create an empty document upon start. When I'm editing a file from the command line or running ST2 directly and reloading my previous project / open files, I wind up with these extraneous blank documents. I would like an option to prevent this blank document from being created (a la TextMate).
+5

Spell check as you go (f6) is a little flakey.

Perry Kibler 13 years ago updated by Keith David Bershatsky 12 years ago 3
If you're working with spell-check-as-you-go on (f6), sometimes flagged words will go dark (which in my theme, means they are invisible), other times, they are white text (as they should be) with red underlines. If they do go dark, simply continuing to type will fix the problem, but it's a shame to have such a beautiful product marred by such a silly bug.
+5

expose modifier-click events (e.g. alt+lmb click in view) also additional mouse buttons

walter lynsdale 12 years ago 0
visual studio and Xcode both have the neat ability to trigger navigation from ctrl or cmd plus mouse clicks for 'jump to definition'. The ability to expose these UI actions to plugins would be fantastic; they could be used to trigger jump to ctag, find-symbol-in-files, etc
+5

Back Button Behavior after using 'Goto Definition' in Sublime Text 3

Brian Wishan 12 years ago 0
It would be nice that after using 'Goto Definition' to navigate to a symbol in the same file, the back button returned you to the previous cursor location instead of the previous file that was visited.
+5

Support for translations

Vitor Hugo 12 years ago 0

It would be nice if you put support for translations!

+5

OS X should resume in fullscreen

Todd Kennedy 12 years ago 0
If an app is quit on OS X Lion when it's in Full Screen, the app should re-open in fullscreen when re-launched.
I'm really lazy and hate clicking the full screen button
+5

Edit files with no permission

hiver yan 13 years ago 0
On mac, I can't save it. 
I suggest give me a notice to authorization. Like other editor
+5

Problems with smb shares

jonrandy 14 years ago 0
With a network folder added to a project I don't seem to be able to navigate more than 3 levels deep in folder structure. Share mounted with smbmount. No problems with other apps
+5

'Ensure newline at EOF' could do to trim extra newlines.

Itai Ferber 13 years ago 0
The 'ensure newline at EOF' option in ST2 checks to see if the file ends in a newline, and if not, adds one. However, it doesn't trim any excessive newlines. So if a file ends in, say, 7 newlines, it doesn't trim them to just one.

By default, EnsureNewlineAtEof looks like the following:
class EnsureNewlineAtEof(sublime_plugin.EventListener):
    def on_pre_save(self, view):
        if view.settings().get("ensure_newline_at_eof_on_save") == True:
            if view.size() > 0 and view.substr(view.size() - 1) != '\n':
                edit = view.begin_edit()
                view.insert(edit, view.size(), "\n")
                view.end_edit(edit)

I think it would be really nice if it could trim excessive newlines, like so (this code doesn't mess around with the position of the cursor, so you don't get scrolled up or down in the file):
class EnsureNewlineAtEof(sublime_plugin.EventListener):
    def on_pre_save(self, view):
        if view.settings().get("ensure_newline_at_eof_on_save") == True:
            if view.size() > 0:
                edit = view.begin_edit()
                content = view.substr(sublime.Region(0, view.size())).rstrip()
                view.erase(edit, sublime.Region(len(content), view.size()))
                view.insert(edit, len(content), os.linesep) # linesep is used for cross-platform compatibility - and line encodings - but "\n" works too for the most part.
                view.end_edit(edit)

I've added this code to a custom plugin, but it would be much nicer to get this behavior by default. Or at least, get an additional option to trim excessive newlines from files.
+5

acces shortcuts from command palette

Alexandru Iga 12 years ago 0
in numerous occasions some of the shortcuts i use are overridden by a plugin, i would just love the possibility to have in command palette the possibility to type something like "shortcuts: ctrl+shift+n" that will display all the shortcut files that use that shortcut.