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

Autocompletion includes too much #148

Closed
spaceotter opened this issue Aug 31, 2014 · 5 comments
Closed

Autocompletion includes too much #148

spaceotter opened this issue Aug 31, 2014 · 5 comments
Labels
Milestone

Comments

@spaceotter
Copy link

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.

@jostillmanns
Copy link

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

@Gosha
Copy link

Gosha commented Oct 15, 2014

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)

@jchochli jchochli added the bug label Apr 23, 2015
@rishka
Copy link

rishka commented Apr 28, 2015

I also have this issue, however I am not sure the bug is including the arguments. When using company mode with C# I get the same kind of completion, but the arguments fields are editable.

For example:

ex1
completion with arguments:
ex2
editing arguments(tab to next)
ex3

@spaceotter
Copy link
Author

For the record, I was using auto-complete mode. I switched over to company-mode awhile back and IIRC the problem went away.

@rishka
Copy link

rishka commented May 3, 2015

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.

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

Successfully merging a pull request may close this issue.

5 participants