Skip to content
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

Show trait of a method in autocomplete popup #1190

Closed
farodin91 opened this issue May 1, 2017 · 2 comments
Closed

Show trait of a method in autocomplete popup #1190

farodin91 opened this issue May 1, 2017 · 2 comments
Labels
E-easy Issue required minimal knowledge about platform and project codebase help wanted

Comments

@farodin91
Copy link
Contributor

It would a cool function to see some background infos.

@farodin91 farodin91 changed the title Show trait of function in autocomplete popup Show trait of a method in autocomplete popup May 2, 2017
@matklad matklad added E-easy Issue required minimal knowledge about platform and project codebase help wanted labels May 2, 2017
@farodin91
Copy link
Contributor Author

@matklad I like to grab, any tip to start this?

@matklad
Copy link
Member

matklad commented May 5, 2017

This is handled by createLookupElement from CompletionEngine.kt. You can insert additional info in the is RsFunction case. RsFunction.role can be used to check if this is a trait/impl method at all.

bors bot added a commit that referenced this issue May 6, 2017
1213: COMP: Show the trait of an method r=matklad
Fixes #1190
@bors bors bot closed this as completed in #1213 May 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Issue required minimal knowledge about platform and project codebase help wanted
Projects
None yet
Development

No branches or pull requests

2 participants