Proposal: Ability to Extend Existing Query Type

13 views
Skip to first unread message

Ritesh Kadmawala

unread,
Jan 15, 2015, 1:46:42 PM1/15/15
to tern...@googlegroups.com

I am using tern in a project where we would like to provide custom list of completions to the user in some specific situations but use the existing code completions provided by the library otherwise. My idea is to provide a hook similar to defineQueryType, using which people can register a custom implementation for any of the existing query type. The custom implementation receives the default implementation for that query type as a parameter and hence call the default implementation as well.

I am ready to contribute towards this and can make a pull request, but just wanted to confirm if something like would be acceptable. Also i am open to any other suggestions to achieving this that doesn't require any change in the library. Thanks in advance.



Marijn Haverbeke

unread,
Jan 20, 2015, 6:39:17 AM1/20/15
to Ritesh Kadmawala, tern-dev
Post either to the bug tracker, or to the list, not both.
> --
> You received this message because you are subscribed to the Google Groups
> "tern-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tern-dev+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages