Home Download Buy Blog Forum Support

Completions: Scope + Context

Completions: Scope + Context

Postby guillermooo on Sun Mar 06, 2011 4:14 pm

Completion files can be conditionally loaded based on scopes. I think it'd be useful to be able to specify a context too.

For instance, Django development and plugin development are both two types of Python development, but you don't want completions for one to clutter completions for the other. If you could say "setting.django_dev" in the completions file, this would be avoidable.

I think this approach is better than using on_query_completions for large sets of completions. Perhaps there's a better way to do this now, but I can't figure it out.
Posts: 738
Joined: Thu Jul 23, 2009 9:06 am

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests