You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would you add a custom context command for a specific file/folder in the Solution Explorer? As an example, let's say I right-click a file named (MyScript.py). I would like a custom command to only be shown if it was a specific file name (or possibly specific extension) in my project.
The text was updated successfully, but these errors were encountered:
Export a command handler to handle it. When invoked, your extension will be fed info on what item(s) are selected when the user invokes the context menu and you'll then be able to determine whether your command should be visible, enabled, etc.
How would you add a custom context command for a specific file/folder in the Solution Explorer? As an example, let's say I right-click a file named (MyScript.py). I would like a custom command to only be shown if it was a specific file name (or possibly specific extension) in my project.
The text was updated successfully, but these errors were encountered: