tintinweb / vscode-interactive-graphviz

Interactive Graphviz Dot Preview for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=tintinweb.graphviz-interactive-preview
GNU General Public License v3.0
143 stars 22 forks source link

Symbols, Rename and References (fixes #79) #94

Closed bigbug closed 2 years ago

bigbug commented 2 years ago

This commit introduces more symbol recognitions. A new test file (differentNodeTypes.dot) has been introduced. Currently only w is not recognised.

The update offers proper symbols (Press Ctrl+P and afterwards enter @)

Screenshot 2022-04-13 at 23 36 20

Renaming is now offered:

Screenshot 2022-04-13 at 23 38 42

References can be found:

Screenshot 2022-04-13 at 23 40 07
tintinweb commented 2 years ago

Nice, as a side-effect this also populates the outline view. We could theoretically add graph/subgraph definitions as "symbolKind.class" to the outline to create a treeview. I'll look into that a little later. Let's get this merged and build on top :) great work 🙌

image
bigbug commented 2 years ago

Ticket #95 created for the follow up activity