-
Notifications
You must be signed in to change notification settings - Fork 196
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
References to external dependencies can't be found on top-level statements #497
Comments
Given that Spring Boot heavily depends on top-level annotations to work, this is a damaging bug. |
Hello there! Getting the same problem here, I can confirm this is a damaging bug 😕. Is there any temporary fix? @fwcd |
Hi all, Just following up on this. Any chances a fix could be included in the roadmap? |
Bump @fwcd |
Please keep discussions focused on the actual topic and refrain from "bumps" and pings. This is a volunteer-driven project and someone will have to put in the time and effort to chase down these issues. PRs are always very much appreciated. |
I'm sorry, didn't meant to be rude. |
Auto-import is not working for top-level statements referring to external dependencies.
In the code above, auto-import works for
@GetMapping
(inside the class), but it doesn't work for@RestController
(top-level). The following exception is thrown bykotlin-language-server
:In fact, simply moving the cursor through keyboard or mouse click to any place outside the class declaration already triggers this exception.
The text was updated successfully, but these errors were encountered: