-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to improve the completion API? #538
Comments
I guess it's just a matter of exposing Which I think returns this list of possibilities: You could try to add this information as a new member of the completion candidates:
|
This is just what I need. I'll try to explore it and then I'll open a PR. |
I've been improving the
company-box
package adding support for several company backends such as company-tern or company-anaconda. I also started working with company-irony but I found that I had to do kinda weird workarounds to find out the kind of completion candidate (i.e. if it is a class, a function, a struct, a variable etc). Other modes that provide completion just as anaconda-mode provide a nice API with information that tells you exactly the kind of the candidate (keyword, function, instance, class etc...). Am I missing something? Is there a way to extract that kind of information from company-irony candidates?The text was updated successfully, but these errors were encountered: