vspackage: how could I make a command in the context menu available for specific file type -


In Solution Explorer, there are projects and files, and I want my custom command to be displayed only when the user is on some file type Click OK, we say ".cs" or ".html" How can I do this?

Assume that your package is loaded, you can control the view / active status through

In the event handler, you set that the command is supported (ALEMENU COMM. Supported assets) visible state (Olemanu Command.Vidual Property) and the competent state (Oleman Command. Whatever the terms, the type of file chosen in the Solution Explorer such as.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -