Add command for extracting UDL documents from an XML file #1299
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a new command that takes an XML export file, converts it to UDL, and then creates new files in the current non-
isfs
workspace folder for those UDL documents according to theobjectscript.export
settings. I think this will be a helpful utility for those who have some legacy XML files that they want to edit in VS Code, or for XML unit tests that they want to run from VS Code (when #1269 is merged). I've included a video of the command's execution below. I've also modified thePreview XML as UDL
command to support previewing all the UDL documents in an XML file, not just the first one and not only a class.extract.mov