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

Missing Core Classes for Completion #63

Closed
JoelProminic opened this issue Jan 19, 2022 · 1 comment
Closed

Missing Core Classes for Completion #63

JoelProminic opened this issue Jan 19, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@JoelProminic
Copy link

While I was testing #47 today, I noticed that code completion wasn't suggesting some common classes from the Java libraries. I could reproduce this behavior with Moonshine 3.3.0 and Grails 3.3.10 (Groovy 2.4.17) as well:

  1. Create a new Grails project
  2. Create a new Groovy file at src/main/groovy/TestGroovy.groovy
  3. In the TestGroovy() method, type "StringBuilde" and press CTRL-Space
  4. BUG: I expected this to find StringBuilder, which is a Java class with Groovy modifications

image

I could also reproduce this with plain Java classes like ArrayList and Vector. New Groovy classes like GString or XmlSlurper complete properly.

If I type out a StringBuilder initialization, I find that tooltips and method completion work fine.

image

@JoelProminic
Copy link
Author

This is working well for me in the latest Moonshine build. I tested some other classes as well, and I haven't found anything missing so far.

I added a bug entry to the Moonshine-IDE changelog to track this.

heyrutvik pushed a commit to heyrutvik/groovy-language-server that referenced this issue Aug 2, 2023
heyrutvik pushed a commit to heyrutvik/groovy-language-server that referenced this issue Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants