Filter for a specific element type in entire project

I'm writing a custom language plugin, where autocompletion has to search and list for a specific element type say 'CustomType' built by the grammar-kit parser. Those element types would contribute to the items in the autocompletion list. How can I search for that type in my whole project. And Is it ok to do the search for every auto complete? or will it dramatically affect the performance.

Thanks

Please sign in to leave a comment.