I am using a VSC extension named classdiagram-ts from AlexShen that does a very nice job, it can be used for creating a diagram for a file or a folder and also lets you reposition and navigate to fields, hide members and other cool options.
https://marketplace.visualstudio.com/items?itemName=AlexShen.classdiagram-ts&ssr=false#overview