-
-
Notifications
You must be signed in to change notification settings - Fork 774
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
LSP: Include braces in type import completions #3516
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Could you add some tests and update the changelog please 🙏
I tried to add tests but ran into an issue. With or without my change, the tests don't generate any completions for I did test it by installing it locally and trying it out in my editor but can't seem to replicate that behavior in the tests. Regardless of whether i use |
Are you still working on this @crazymerlyn ? |
Haven't looked at it since my last comment. Don't really have an idea for what to do next in terms of testing this change. |
I think this happens because let module = match this.module_for_uri(¶ms.text_document.uri) {
Some(m) => m,
None => return Ok(None),
}; // can't get the module probably need to figure out how to test this properly |
Hello! Are you still working on this one? :) |
Hi @lpil, I would like to help finish this one as the logic is completed, we just need a way to test it. since |
You would need to compile it with valid syntax, update the file in the filesystem and then ask for compilations! |
Fixes #3498