-
Notifications
You must be signed in to change notification settings - Fork 38
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
Good completion suggestions require extra type hints #113
Comments
lassemaatta
changed the title
Good completion suggestions require extra many type hints
Good completion suggestions require extra type hints
Nov 11, 2023
Thanks! I'd say that the gist of this issue is similar to #111 , except that for constructors instead of static method calls. We currently fail to type-infer for the simplest constructor call: ...The good news is that the improvement is definitely at hand. |
alexander-yakushev
added a commit
that referenced
this issue
Nov 13, 2023
Adresses one of the issues in #113.
Were able to fix the superclass issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was writing some Java-interop code with
cider
and noticed that I need to add a lot of explicit type-hints to get good quality autocomplete suggestions. It was suggested to me in slack that I ought to open an issue.My assumption was that code like
would provide completion for methods of
BaseClass
. Instead, it looks like I get suggestions for hundreds of methods from some other clases. For example:To get better suggestions, I need to say:
Also, I noticed that the completions do not consider the class inheritance hierarchy. Here, the
ChildClass
inherits fromBaseClass
:An example repository.
Versions:
CIDER 1.12.0-snapshot
GNU Emacs 30.0.50 (build 2, x86_64-pc-linux-gnu)
The text was updated successfully, but these errors were encountered: