vscode: Default Custom Editor prompt doesn't show custom editor options for filetypes associated with ViewType and Filename Pattern
- VS Code Version: 1.56
- OS Version: Windows 10
Steps to Reproduce:
- Download Depot from Extension Marketplace Depot uses .dpo by default to display its custom editor.
- Associate a .json file with Depot by using { “viewType”: “depot.data”, “filenamePattern”: “*.json” } in settings.json
- When you try to open a json file for editing, Depot does not appear as an option.
I’m assuming because by Default Depot is setup only to use .dpo? Or is JSON special?
Does this issue occur when all extensions are disabled?: No (due to extension dependency)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (8 by maintainers)
Well
"priority": "option"
just means it will show up as an option in theReopen Editor With....
command or theOpen With...
explorer context menu. This doesn’t mean that there is a prompt for it. The user only gets prompted on defaults.If depot can truly handle any file type I would suggest a package.json of this regardless of what the changes are decided here.
This will say for all non
*.depot
or*.dpo
make the Depot Editor an option. That way the user can also see the editor in theReopen Editor With...
quickpick.