Replies: 9 comments 4 replies
-
No
No
I am always in favor of improving the current implementation
Yes. The plugin is generic to all LSPs (I have been using it with Rust & Python as well as C++).
CodeLite already requests |
Beta Was this translation helpful? Give feedback.
-
This depends on the major LSPs, the ones I consider major and uses them are:
|
Beta Was this translation helpful? Give feedback.
-
|
This looks very nice! One small suggestion: An option to start it in a collapsed mode would be great (this option should persist, you can use |
Beta Was this translation helpful? Give feedback.
-
|
As long as the SVG is free to use - get it from ever you want. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Great. However, Are the current SVG not enough? i.e. we already have a SVGs for function, class etc. For example: Full list: |
Beta Was this translation helpful? Give feedback.
-
|
Other than that, feel free to post this as a PR so we can start the review iteration :) |
Beta Was this translation helpful? Give feedback.
-
|
As for the symbols, I think it comes down to personal taste. For me the pure color coding of classes/structs/functions was not quite distinctive enough. We'd also have to at least add svgs for constructors and modules, and maybe make namespace and enum icon distinguishable. I'll make the pull request later, after resolving some merge conflicts. The style of the symbols can be changed then. |
Beta Was this translation helpful? Give feedback.
-
|
The more important thing is that the UI has to be consistent. If we already have symbols - they should be the same everywhere:
|
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
tl;dr: Interest in updated Outline view with symbol hierarchy and details?
Hi,
I'm a big fan of Outline views for code navigation. The thing is, for my taste the existing Outline plugin is rather on the basic side (no sorting, no hierarchy, no details ...).
CodeLite has already a very nice LSP client implementation and I admire all the work that has gone into it. For my personal use I wrote a little parser to create a symbol hierarchy and changed the Outline panel to display it in a sortable tree view.
This works fine for all my stuff and boosts my efficiency, but it's not suitable for general usage (the created hierarchy is mostly based on line and character ranges, which the clangd spec explicitely discourages). I also have no idea how this would behave in other languages.
Most of this can be solved by requesting DocumentSymbol from clangd instead of SymbolList and representing this hierarchy as a sortable tree. Obtaining the DocumentSymblos is mostly a matter of setting the richt client capabilities.
But before I go about implementing it, I wanted to get a few opinions from the CodeLite team:
Thanks for reading!
Cheers, Mike
Beta Was this translation helpful? Give feedback.
All reactions