microsoft / XmlNotepad

XML Notepad provides a simple intuitive User Interface for browsing and editing XML documents.
https://microsoft.github.io/XmlNotepad/
MIT License
989 stars 207 forks source link

Feature request - User Templates of Prepopulated subnodes #391

Open meineid-git opened 4 months ago

meineid-git commented 4 months ago

It would be great if I could define xml structures as a template - fully populated so that I can insert it when creating new nodes.

lovettchris commented 2 weeks ago

There is a similar feature in Visual Studio called "code snippets" where the XML editor there will prepopulate all 'required elements' according to your XSD schema. This is then less work for the user, just associate your XSD schema, and hit tab, and all required elements appear containing some default values that you can then edit as desired. Would this be sufficient for your use case?