[TxMt] Re: Word completion

Rob McBroom mailinglist0 at skurfer.com
Tue Sep 10 13:04:40 UTC 2013


On Tue Sep 10 2013 at 07:20:44, Ross Ahmed wrote:

> Is it possible for word completion to work on any open file or any file in a project? Or in other words, lets say I press escape key to complete a word which isn’t in the current file, can I set up completion to cycle through words that are in an open file and/or a project?

Within a bundle, you can define a static list of words to use for completion, or you can specify a command that returns a list of words. So in theory, you could have a command that gets a list of words from the current project, but it might be hard to get only useful words and in a reasonable amount of time.

-- 
Rob McBroom
<http://www.skurfer.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20130910/8ef1c7b8/attachment.html>


More information about the textmate mailing list