Rands interviews TextMate’s developer, Allan Odgaard, who drops some tantalizing hints about TextMate 2.0:
Things in TextMate are generally triggered when the user does some form of interaction. For example, pressing a key, dragging a file to the edit area, or typing a keyword followed by tab and then based on the structural context (e.g. are we inside a string in a source file?) which TextMate knows about from having parsed the document, some action will fire, like running a command or inserting a snippet.
This simple system has allowed a plethora of cleverness in the form of bundle items, and TextMate 2.0 (though the ETA is not within the next six months) will make the parser able to work with more complex document types, have scope selectors select more than just the structural context, have commands fire for more than just file dropping, key equivalents, and tab triggers.
These improvements to the existing infrastructure will allow for a lot of cool new things. I am deliberately being a little vague on what exactly they are since people have started to copy my ideas, which I have nothing against, I just want to be the first with the implementation.
Post a Comment