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

Data types in code completion #2378

Closed
GlaDOSik opened this issue Aug 17, 2015 · 4 comments
Closed

Data types in code completion #2378

GlaDOSik opened this issue Aug 17, 2015 · 4 comments

Comments

@GlaDOSik
Copy link

Sometimes I have to jump into the Help tab to know the returning data type (or property data type) and it slows me down. It would be helpful if code completion showed me data type next to the function/property name.

@firefly2442
Copy link
Contributor

screenshot_2015-10-12_10-40-01

Doesn't it already have this feature (based on current development version aad2bbd)? Unless I'm misunderstanding your comment.

@GlaDOSik
Copy link
Author

You're right. But this tooltip often gets in your way and covers the code. I thought about something like this.
code

@akien-mga akien-mga changed the title [Request] Data types in code completion Data types in code completion Nov 10, 2015
@akien-mga
Copy link
Member

I'm not sure it would be an improvement; of course for new users it might be useful to see the types and arguments of all functions, but for non-beginners (who can still benefit for autocompletion), the main use of the list is to find what function does what (get_accelerometer returns an accelerometer, get_joy_name is what you need when you want the joystick's name).
Once you know what function could fit your needs, you start typing it and get to the next level of detail with return type and arguments.

I think putting all details in the first list would mostly add clutter.

@GlaDOSik
Copy link
Author

Yeah, you have a point. It might not be the best idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants