In this blog post, we'll introduce a new lightweight tool OData CSDL modeler for OData developers to view OData metadata CSDL document in a graphical manner in Visual Studio Code so that they can understand the structure of OData metadata more easily.
Usage of OData CSDL modeler for VSCODE
You can very easily find OData CSDL Modeler in VSCODE Marketplace at
https://marketplace.visualstudio.com/items?itemName=SAPSE.vsc-extension-odata-csdl-modeler, and install the extension to your VSCODE development environment.
In order to use the CSDL modeler to view your OData metadata CSDL document, you need to download and copy the CSDL document locally:
Right click the edmx file on the VSCODE left pane, click "Open With..." context menu:
In the VSCODE command palette dialog, select "Open with OData CSDL Modeler":
Now you will be able to see the OData metadata document is loaded successfully by the OData CSDL Modeler:
You can also see the entity sets on the property sheet as well:
Conclusion
In the blog post, we introduced a new tool "OData CSDL Modeler" in VSCODE Marketplace that enables OData developers to view complex OData metadata CSDL documents in a graphical manner so that they can understand OData CSDL structure more easily.