Archikoder Lens, a visual studio code extension have a new release that now allow you to generate and visualize UML diagram from your code.
How does it work?
Install the plugin in your vscode and click on "open in explorer" of the plugin view. In settings, change the view from "graph" to "UML".
For every code file you open in the editor, a class diagram for elements like "class", "interface", "methods", "property" is generated and visualized.
What else?
As in previous version, you can always query specific elements of your codes to be visualized: use query "class diagram" to display a diagram class of all the classes in your project.
How does it work? Install the plugin in your vscode and click on "open in explorer" of the plugin view. In settings, change the view from "graph" to "UML". For every code file you open in the editor, a class diagram for elements like "class", "interface", "methods", "property" is generated and visualized.
What else? As in previous version, you can always query specific elements of your codes to be visualized: use query "class diagram" to display a diagram class of all the classes in your project.