AnalyticalGraphicsInc / gltf-vscode

This is an extension for Visual Studio Code to add support for editing glTF files.
Apache License 2.0
441 stars 61 forks source link

Add QuickFix for undeclared extensions #227

Closed emackey closed 2 years ago

emackey commented 2 years ago

When you add a new extension to a glTF file, the validator will typically say:

Extension is not declared in extensionsUsed. _glTF Validator(UNDECLAREDEXTENSION)

This PR adds a "Quick Fix..." option (via the little lightbulb icon that provides such fixes) to add the extension to the extensionsUsed array, automatically creating such an array if it doesn't exist.