Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.
Customize how unsaved files are named in tabs / sidebar
Better autocomplete support for object methods
Alphabetize Go to Symbol
def on_new(self, view) has no window
I'm trying to create a plug-in which intercepts the new file command and opens the new tab to the right of all existing tabs. My code looks something like:
import sublime, sublime_plugin
class EventDump(sublime_plugin.EventListener):
def on_new(self, view):
print ("new file")
print (view.window().__class__)
w = view.window()
w.set_view_index(view, w.active_group(), len(w.views_in_group (w.active_group())) - 1)
The problem appears to be that the view doesn't have a window associated with it at the point at which the event fires, making it (as far as I can tell) impossible to move the new file's tab to the rightmost of the rest. Perhaps this event should fire after the view has a window or another event created, like on_after_new_complete.
When at the beginning of a line, ctrl-right should take the cursor to the first non-whitespace character
Closing a project closes all non related open files
Use Apple's FSEvents (and other platform equivalents) to watch for external modifications.
find in currently focused file
Сервис поддержки клиентов работает на платформе UserEcho