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

Enhanced completion proposals in Parameter completion #45

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kovadam69
Copy link

I added IntelliJ like parameter completion proposals beside the current case-insensitive completion proposals. This means if user inputs chThVarO will match the variable name checkThisVariableOut. These methods are in the Util class, and this is also used in the RSTALanguageSupport in Java language completion for method/field completion proposals.
Beside it has some small fix regarding memory issues and window disposal.

@kovadam69
Copy link
Author

Slightly modified AutoCompletion class to add ability to show a method parameter tooltip when user presses the Ctrl-P (can be changed). Currently this is used in JavaCompletionProvider, but should work for all other providers as well, either showing nothing, or if the provider does return some meaningful ParameterizedCompletion list, it will be shown to the user. The tooltip disappears when user presses Ctrl-Space, ESCAPE or leaves the method boundaries (exits the space between ( and ) or line end ). If multiple ParameterizedCompletion is returned, multiple tooltips are placed below each other.

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

Successfully merging this pull request may close these issues.

None yet

1 participant