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
Autocompletion includes too much #148
Comments
Are you using auto-complete-mode, or company-mode? It's not really a fix, but look into company-mode, there exists a backend implementation that actually works.You can find it here: https://github.com/company-mode/company-mode/blob/master/company-eclim.el |
I'm using company-mode and experience this too. Can't reliably reproduce it though. Although, when I complete functions with arguments, the argument types are always included like this: setContentView(View view) |
For the record, I was using auto-complete mode. I switched over to company-mode awhile back and IIRC the problem went away. |
I was using company-mode when this happened to me. Turning on yas-minor-mode gives the behavior in my comment. I believe that it should complete like that when yas-minor-mode is active and autocomplete without args when it is not. |
When I complete with completing-read, the suggestions are like this:
getJSONArray(String name) : JSONArray - JSONObject
and that actually gets inserted into the file, when only getJSONArray should be inserted. The extra information is helpful, but is not a part of the actual symbol.
The text was updated successfully, but these errors were encountered: