langserver.github.io icon indicating copy to clipboard operation
langserver.github.io copied to clipboard

Which feature is needed for Document Symbol Request

Open nilsmahlstaedt opened this issue 5 years ago • 5 comments

Hi, I have a short question regarding the capabilities of the language servers:

Which feature is needed to be able to use the Document Symbol Request ?

Is it Jump to def or does the server actually have to support Workspace Symbols?

Thank you for keeping up this helpful list! Nils

nilsmahlstaedt avatar Dec 07 '19 22:12 nilsmahlstaedt

This is for showing the symbols in a file. For example in vscode it is in the outline view https://code.visualstudio.com/docs/getstarted/userinterface#_outline-view

keegancsmith avatar Dec 09 '19 07:12 keegancsmith

Hi @keegancsmith thank you for your swift answer! I probably did not phrase that question the right way, sorry for that. Let me try again:

On https://langserver.org/#implementations-server you have a table that lists language server implementations and the functionalities these implementations support. Can I infer from that table which servers are likely to support the
Document Symbol Request? And if so, which column has to be ticked of for a given implementation?

Thank you once again! Nils

nilsmahlstaedt avatar Dec 09 '19 08:12 nilsmahlstaedt

Hi @keegancsmith thank you for your swift answer! I probably did not phrase that question the right way, sorry for that. Let me try again:

On https://langserver.org/#implementations-server you have a table that lists language server implementations and the functionalities these implementations support. Can I infer from that table which servers are likely to support the Document Symbol Request? And if so, which column has to be ticked of for a given implementation?

Thank you once again! Nils

we don't currently list it in the table. @chrismwendt @efritz what do you think of adding it in? Important enough of a feature?

keegancsmith avatar Dec 09 '19 09:12 keegancsmith

"Outline view" is currently listed in the "Additional capabilities" column for multiple language servers, so there's a precedent for not making it an explicit column. I haven't seen enough of this kind of feedback to make a decision based on popularity, and the table is already pretty cramped, so I'd lean towards leaving it as-is.

chrismwendt avatar Dec 09 '19 09:12 chrismwendt

Thank you for your swift answers!

nilsmahlstaedt avatar Dec 09 '19 10:12 nilsmahlstaedt

can this issue be closed then?

goyalyashpal avatar Mar 20 '23 17:03 goyalyashpal

Hi, Yeah this was some time ago. I think i found a was around IT somehow. Thanks for the follow up!

goyalyashpal @.***> schrieb am Mo., 20. März 2023, 18:20:

can this issue be closed then?

— Reply to this email directly, view it on GitHub https://github.com/langserver/langserver.github.io/issues/183#issuecomment-1476641135, or unsubscribe https://github.com/notifications/unsubscribe-auth/AECYPUPTK2WGH6Y55EZZLHDW5CGXJANCNFSM4JXS5RQA . You are receiving this because you authored the thread.Message ID: @.***>

nilsmahlstaedt avatar Mar 20 '23 18:03 nilsmahlstaedt