Closed nirinchev closed 2 months ago
We're moving away from the current export to language functionality in favor of a copilot-based replacement. Once VSCODE-573 lands, we'll have alignment between the code lens and palette commands, making this problem go away.
Description
This adds the
mdb.canExportToLanguage
to the extension context and uses it in the when clause for the export to language commands.Checklist
Motivation and Context
Open Questions
Not sure if that's the best way to go about it - I also considered adding a the mode directly and writing a more complex when clause, but decided against it to avoid the code lens and the palette commands diverging.
Also, not sure how to test that change other than manually, so will need some pointers here.
Dependents
Types of changes