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

limit Import/Validate context menu to .gltf/.glb #225

Closed jakobharder closed 2 years ago

jakobharder commented 2 years ago

I shouldn't get "glTF: Import from GLB" or "glTF: Validate a GLB or GLTF file" when clicking on a README.md ;-)

The commands are still available on F1 for those who want to use the file dialog.

emackey commented 2 years ago

Thanks @jakobharder. I'm going to implement this a little differently in #228, but the effect will be the same for your readme files.

jakobharder commented 2 years ago

Looks same enough to me and will fulfill my use case 👍

emackey commented 2 years ago

This is live now with version 2.3.13. Let me know if it works well.

jakobharder commented 2 years ago

Works as expected 🙂