Replies: 1 comment 2 replies
-
Hey @folke, would you say this is expected or a bug? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Thanks for the great plugin and the rewrite. I started using the Document Symbols after the upgrade a couple of days ago and noticed something that I wanted to share. I suspect it might be a bug, but wanted to check here first before I file it as such.
In a Rust program if I have a struct with associated functions as well as methods, they don't show up under the structure's name and instead under the root of the tree in the symbols mode. Here's an example:
It is shown as:
I would have expected, both new and method to be shown under the S1 tree sort of like this:
Is it expected to be this way or is it a bug?
Cheers
Beta Was this translation helpful? Give feedback.
All reactions