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

[feat request] Show trait info in LSP completion #323

Open
LittleJianCH opened this issue Nov 5, 2024 · 0 comments
Open

[feat request] Show trait info in LSP completion #323

LittleJianCH opened this issue Nov 5, 2024 · 0 comments

Comments

@LittleJianCH
Copy link

LittleJianCH commented Nov 5, 2024

It will be much helpful to show the trait info in LSP completion.

For example, there's a function write_object:

pub fn Logger::write_object[Obj : Show](self : Logger, obj : Obj) -> Unit {
  obj.output(self)
}

Now, LSP will show info like this
截屏2024-11-05 14 37 19

It's unhelpful since I don't what Obj is here. I have to jump to the definition of Logger::write_object to get enough informations.

@LittleJianCH LittleJianCH changed the title [feat re]Show trait info in LSP completion [feat request] Show trait info in LSP completion Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant