By utilizing VisibilityConstraints, we’re able to let Visual Studio handle the visibility of our commands without initializing our extension. It’s great for performance and requires less code than using BeforeQueryStatus
Featuring: Mads Kristensen (@mkristensen)
Use rule-based UI contexts: https://docs.microsoft.com/visualstudio/extensibility/how-to-use-rule-based-ui-context-for-visual-studio-extensions
Get your questions answered on the Microsoft Q&A for .NET - https://aka.ms/dotnetqa
Learn .NET with free self-guided learning from Microsoft Learn: http://aka.ms/learndotnet
#vscode #developer