Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.
![](https://cdn.userecho.com/characters/65.png?1)
Better autocomplete support for object methods
![](/s/cache/b7/de/b7de91f5e880ebc37bc1f56a367b3f88.png)
Alphabetize Go to Symbol
![](https://cdn.userecho.com/characters/65.png?1)
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.
![](https://cdn.userecho.com/characters/82.png?1)
When at the beginning of a line, ctrl-right should take the cursor to the first non-whitespace character
![](https://cdn.userecho.com/characters/71.png?1)
Closing a project closes all non related open files
![](https://cdn.userecho.com/characters/74.png?1)
Use Apple's FSEvents (and other platform equivalents) to watch for external modifications.
![](https://cdn.userecho.com/characters/111.png?1)
find in currently focused file
![](https://cdn.userecho.com/characters/67.png?1)
"Replace" button has no default key binding
Servicio de atención al cliente por UserEcho