Why isn't my vspackage's context menu showing

后端 未结 4 438
天命终不由人
天命终不由人 2021-01-11 12:44

I already have a package that I created, and I\'d like to add a menu to the Code Window context menu.

After a little search I found several articles exp

4条回答
  •  情话喂你
    2021-01-11 13:35

    A context menu must be added to a group that is on the context menu for it to be displayed ... The syntax for this took me a couple days of trial and error to determine.

    enter image description here

    I created a new VSPackage extension project then updated my VSTS file as follows to create the context menu shown above:

    
        
          
            
          
    
         
            
          
        
    
        
          
            
            
              Test Context Menu
            
          
        
    
        
          
          
    
        
          
        
      
      
        
        
    
        
        
          
          
          
          
        
    
        
          
          
          
          
          
          
        
      
    

提交回复
热议问题