You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have made a PR about this here: MaskRay/ccls#674
basically, it solves hierarchical issues and other stuff like the issue you describe but symbols in macros are not seen anymore it's by design (I think we could add this by implementing the current design when we hit a macro it would then have the same problems but only in macros). IMHO we should make a macro inspector with more detailed step by step of what is happening.
At this time I haven't received a response from MaskRay
Ah, okay cool. I checked the open issues but neglected to check PR's, good to know this is already being taken care of. Fixing this issue would make it easier to develop tools that work the same for any language server.
I like the macro inspector idea. It's a little weird to see symbols provided that are inserted by macros, but in some contexts it would be useful to see that information.
Observed behavior
Separate
DocumentSymbols
are not provided for functions with a declaration and definition in the same file.Expected behavior
DocumentSymbols
should be provided for both the function declaration and definition.Steps to reproduce
Try this code:
Symbols are only provided for the functions once each:
System information
The text was updated successfully, but these errors were encountered: