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
Add protocol conformance and super class details to DocumentSymbol for types #1097
Comments
Tracked in Apple’s issue tracker as rdar://123752547 |
It would definitely possible. Do you think it would be useful though? I would think that it produces more noise than value. |
It would be useful for me to recognise XCTestCase classes. So I can add test items for new test classes as they are written (and not wait for a compilation). Currently the test update between builds can only add methods to existing test classes. Also it would be interesting to see how providing them affects the file outline view. |
I was mostly thinking about the outline view where I think it would just add noise. For the test explorer, I think we should be relying on |
My main concern with relying on |
Oh, I didn’t think about the fact that What I would prefer is that I change |
If I had a |
The LSP DocumentSymbol interface includes a
details
field. Currently SourceKit-LSP leaves this field empty.For classes, struct and actors would it be possible to include the protocol conformances and super class in this field e.g.
MyClass: SuperClass
,MyStruct: Sendable, Equatable
etcThe text was updated successfully, but these errors were encountered: