Assigning a keyboard shortcut for a specific Eclipse build configuration

前端 未结 4 633
孤街浪徒
孤街浪徒 2020-11-28 23:39

In our Java project in Eclipse, we have several build configurations, as we have an engine that when run, builds installation jar for a specific projects according to the pa

4条回答
  •  猫巷女王i
    2020-11-28 23:58

    You could define a plugin with some launchShortcuts in it.

    This thread is a good illustration.

    But to actually bind it, you would need to define a command running that configuration, and bind that command to a key (like in this plugin.xml configuration file)

    the shortcut definition of a launch configuration:

      
         
           
           
           
             
               
               
                 
                   
                   
                 
               
             
           
       
     
    

    Then the command:

     
        
         ...
     
    

    Then the key binding for a keyboard shortcut:

    
        
     
    

提交回复
热议问题