On 2013-03-26 00:39, Meryn Stol wrote:While I guess internal changes would would be necessary to support avariety of parsers, I don't think increased autocompletion accuracyrequires a new API, or am I mistaken? I think a bundle command couldcould just take the entire file contents plus the caret position asinput for a script. Script could parse the source code by itself, thenreturn some suggestions (using Dialog2).
I guess the script could invoke libclang or similar. But it doesn't sound like a good idea to have to invoke an external process each time you want autocompletion and certainly not for syntax highlighting. That would be really, REALLY slow. A lexer needs to be extremely fast.
--
/Jacob Carlborg
_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate