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
there is an outline view showing the hierarchy of a single file (with the information from the Language Server).
However, i think you are talking about the hierarchy of the whole project.
In this case, a custom view must be implemented.
It would be optimal to use a specific LSP-request to get the hierarchy information from the Language Server.
Currently, there is no such LSP-request implemented in VHDL_LS.
However, if you take a look at the LSP-specification there is no LSP-request covering that specific scenario for the design-hierarchy.
Therefore, an issue must be created at VHDL_LS, but i am not sure if this method is optimal...
Another approach would be that the user specificies the top-level entity.
From there, you could send a document-symbol-request to the Language Server (which is implemented in VHDL_LS).
I think, from the returned information the children of the top-level-entity can be shown and on the client-side you could query the children of the whole project recursively. However, querying from the client-side is slower, an indirect route and possibly not that optimal, too...
Maybe, the already existing outline-view in the client can be made recursive from the server-side (not sure).
Hi Jacobjung10, thanks for sharing the ideas.
When i unterstand the vhdl-ls issue 219 right there ist Work in Progress for a bigger API concept, which could enable helpful functionality for this topic.
A view to navigate through the design (hierarchy <-> Source files) would be a very helpful feature of this extension.
something like the (a bit imprecise) vhdl-hierarchy extension...
https://marketplace.visualstudio.com/items?itemName=JesperRaemaekers.vhdl-hierarchy
The text was updated successfully, but these errors were encountered: