[TxMt] scope-specific word completion collection
Oliver Taylor
oliver at ollieman.net
Sat Dec 17 01:03:36 UTC 2005
I'm creating a custom bundle for screenwriting and I've got most of
it down, but I want to leverage textmate's completion abilities. For
example, I've got this is the language:
{ name = 'splay.character';
match = '\t\t\t\t+(.*)';
},
...to define anything that starts with 4 tabs as "splay.character"
Now, I want to collect all the words in the current document (but
only within the "splay.character" scope, and use them as a list for
auto-completion. So that when I tab 4 times and type "Ki" then
escape, "King John" will pop up.
I know this is done with a shell command (right?) but I have no idea
how to do this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20051216/8c845c40/attachment.html>
More information about the textmate
mailing list