There is no easy way to do code completion in TextMate yet.
A tool to show a menu that you can select from is available, but none of the rest of the functionality yet.
You have to get the current text and parse it and then return the final result and everything in between yourself.

But that's what I'm hoping to instigate here. An library or something that you can just pass a comma separated list or something.

How do you want it to work?

thomas Aylott — design42 — subtleGradient — CrazyEgg

On Dec 6, 2006, at 5:53 PM, Brian Landau wrote:

Is there any documentation available on how one is to make code

completion part of a bundle?


-Brian


On 12/6/06, thomas Aylott <oblivious@subtlegradient.com> wrote:


Howdy.


In light of the recent C Library bundle, it's obvious that people re

extremely interested in having some code completion in TextMate.


I've done a few things will code completion already.

Filepath

- http://subtlegradient.com/articles/2006/11/02/filename-filepath-completion-for-textmate-screencast

English

- http://subtlegradient.com/articles/2006/10/30/english-word-completion-for-textmate-screencast

And someone did Cocoa completions

http://theocacao.com/document.page/332


I think we should come up with a brick simple library that will let you do

completions.

Then the hardcode d00ds can get on with extending and perfecting the

completion library.

While everyone actually gets the chance to use it.


Plus, we'll be able to unify all the code completion stuff into a single

library.

 thomas Aylott — design42 — subtleGradient — CrazyEgg