Juande Santander Vela wrote:
Actually, the way Xcode 4 does code completion is using libclang, making it _understand_ the code as the compiler would. This could be used by some bundles for special parsing, much like the Rope support por Python...
Completion in TM is done by pressing escape ⎋. In Xcode 4 it happens automatically while you are writing. AFAIK in TM it's not possible to do that via bundles.
From the TM manual:
"TextMate has a simple yet effective completion function on ⎋ (escape)."
"The other option is to set a custom shell command to gather the completions."