Changeset 370

Show
Ignore:
Timestamp:
09/16/08 23:58:43 (4 months ago)
Author:
sergey.kol..@gmail.com
Message:

Sergey Kolos:

  • Adjusted key combinations to be closer to default Eclipse. Rearranged menu.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • jasko.tim.lisp/plugin.xml

    r355 r370  
    534534   
    535535<!-- ============ grpCode ============ 
    536 Find Definition Alt+. (or Ctrl+Click) 
     536Find Definition F3 (from Alt+. - F3 - default in eclipse) (or Ctrl+Click) 
    537537Find Callees Alt+Shift+. 
    538538Find Callers Alt+Shift+, 
     
    542542Disassemble Alt+D 
    543543--> 
     544  <!-- Dissassemble --> 
     545  <extension point="org.eclipse.ui.commands"> 
     546    <command 
     547      categoryId="jasko.tim.lisp.category1" 
     548      description="Disassembles the current function." 
     549      id="jasko.tim.lisp.actions.DisassembleAction" 
     550      name="Disassemble"/> 
     551  </extension> 
     552  <extension point="org.eclipse.ui.bindings"> 
     553    <key 
     554      commandId="jasko.tim.lisp.actions.DisassembleAction" 
     555      contextId="jasko.tim.lisp.context1" 
     556      schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" 
     557      sequence="Alt+D"/> 
     558    <key 
     559      commandId="jasko.tim.lisp.actions.DisassembleAction" 
     560      contextId="jasko.tim.lisp.context1" 
     561      schemeId="org.eclipse.ui.emacsAcceleratorConfiguration" 
     562      sequence="Ctrl+C Alt+D"/> 
     563  </extension> 
     564  <extension point="org.eclipse.ui.editorActions"> 
     565    <editorContribution 
     566      targetID="jasko.tim.lisp.editors.LispEditor" 
     567      id="jasko.tim.lisp.menus"> 
     568      <action 
     569        class="jasko.tim.lisp.editors.actions.DisassembleAction" 
     570        definitionId="jasko.tim.lisp.actions.DisassembleAction" 
     571        id="jasko.tim.lisp.editors.actions.DisassembleAction" 
     572        label="&amp;Disassemble" 
     573        menubarPath="Lisp/grpCode" 
     574        tooltip="Disassembles the current function."> 
     575      </action> 
     576    </editorContribution> 
     577  </extension> 
     578   
     579  <!-- Macro-expand --> 
     580  <extension point="org.eclipse.ui.commands"> 
     581    <command 
     582      categoryId="jasko.tim.lisp.category1" 
     583      description="Macro-expands the current expression." 
     584      id="jasko.tim.lisp.actions.MacroExpandAction" 
     585      name="Macro-expand-1"/> 
     586  </extension> 
     587  <extension point="org.eclipse.ui.bindings"> 
     588    <key 
     589      commandId="jasko.tim.lisp.actions.MacroExpandAction" 
     590      contextId="jasko.tim.lisp.context1" 
     591      schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" 
     592      sequence="Alt+M"/> 
     593    <key 
     594      commandId="jasko.tim.lisp.actions.MacroExpandAction" 
     595      contextId="jasko.tim.lisp.context1" 
     596      schemeId="org.eclipse.ui.emacsAcceleratorConfiguration" 
     597      sequence="Ctrl+C Enter"/> 
     598  </extension> 
     599  <extension point="org.eclipse.ui.editorActions"> 
     600    <editorContribution 
     601      targetID="jasko.tim.lisp.editors.LispEditor" 
     602      id="jasko.tim.lisp.menus"> 
     603      <action 
     604        class="jasko.tim.lisp.editors.actions.MacroExpandAction" 
     605        definitionId="jasko.tim.lisp.actions.MacroExpandAction" 
     606        id="jasko.tim.lisp.editors.actions.MacroExpandAction" 
     607        label="&amp;Macroexpand-1" 
     608        menubarPath="Lisp/grpCode" 
     609        tooltip="Performs a single macro-expansion on the current expression."> 
     610      </action> 
     611    </editorContribution> 
     612  </extension> 
     613   
     614  <extension point="org.eclipse.ui.commands"> 
     615    <command 
     616      categoryId="jasko.tim.lisp.category1" 
     617      description="Macro-expands the current expression." 
     618      id="jasko.tim.lisp.actions.MacroExpandAllAction" 
     619      name="Macro-expand all"/> 
     620  </extension> 
     621  <extension point="org.eclipse.ui.bindings"> 
     622    <key 
     623      commandId="jasko.tim.lisp.actions.MacroExpandAllAction" 
     624      contextId="jasko.tim.lisp.context1" 
     625      schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" 
     626      sequence="Alt+Shift+M"/> 
     627    <key 
     628      commandId="jasko.tim.lisp.actions.MacroExpandAllAction" 
     629      contextId="jasko.tim.lisp.context1" 
     630      schemeId="org.eclipse.ui.emacsAcceleratorConfiguration" 
     631      sequence="Ctrl+C Esc M"/> 
     632  </extension> 
     633  <extension point="org.eclipse.ui.editorActions"> 
     634    <editorContribution 
     635      targetID="jasko.tim.lisp.editors.LispEditor" 
     636      id="jasko.tim.lisp.menus"> 
     637      <action 
     638        class="jasko.tim.lisp.editors.actions.MacroExpandAllAction" 
     639        definitionId="jasko.tim.lisp.actions.MacroExpandAllAction" 
     640        id="jasko.tim.lisp.editors.actions.MacroExpandAllAction" 
     641        label="&amp;Macroexpand-all" 
     642        menubarPath="Lisp/grpCode" 
     643        tooltip="Performs a full macro-expansion on the current expression."> 
     644      </action> 
     645    </editorContribution> 
     646  </extension> 
     647 
    544648 
    545649  <!-- Undefine function --> 
     
    676780    <command 
    677781      categoryId="jasko.tim.lisp.category1" 
    678       description="Evaluates the top level s-expression.
     782      description="Finds definition
    679783      id="jasko.tim.lisp.actions.FindDefinitionAction" 
    680784      name="Find Definition"/> 
     
    685789      contextId="jasko.tim.lisp.context1" 
    686790      schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" 
    687       sequence="Alt+."/> 
     791      sequence="F3"/> 
     792    <key 
     793      commandId="jasko.tim.lisp.actions.FindDefinitionAction" 
     794      contextId="jasko.tim.lisp.context1" 
     795      schemeId="org.eclipse.ui.emacsAcceleratorConfiguration" 
     796      sequence="Ctrl+C ."/> 
    688797  </extension> 
    689798  <extension point="org.eclipse.ui.editorActions"> 
     
    694803        class="jasko.tim.lisp.editors.actions.FindDefinitionAction" 
    695804        definitionId="jasko.tim.lisp.actions.FindDefinitionAction" 
    696         id="jasko.tim.lisp.editors.actions.FindDefinitionAction" 
     805        id="jasko.tim.lisp.actions.FindDefinitionAction" 
    697806        label="&amp;Find Definition" 
    698807        menubarPath="Lisp/grpCode" 
    699         tooltip="Go to the symbol's definition."> 
    700       </action> 
    701     </editorContribution> 
    702   </extension> 
    703    
    704   <!-- Dissassemble --> 
    705   <extension point="org.eclipse.ui.commands"> 
    706     <command 
    707       categoryId="jasko.tim.lisp.category1" 
    708       description="Disassembles the current function." 
    709       id="jasko.tim.lisp.actions.DisassembleAction" 
    710       name="Disassemble"/> 
    711   </extension> 
    712   <extension point="org.eclipse.ui.bindings"> 
    713     <key 
    714       commandId="jasko.tim.lisp.actions.DisassembleAction" 
    715       contextId="jasko.tim.lisp.context1" 
    716       schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" 
    717       sequence="Alt+D"/> 
    718     <key 
    719       commandId="jasko.tim.lisp.actions.DisassembleAction" 
    720       contextId="jasko.tim.lisp.context1" 
    721       schemeId="org.eclipse.ui.emacsAcceleratorConfiguration" 
    722       sequence="Ctrl+C Alt+D"/> 
    723   </extension> 
    724   <extension point="org.eclipse.ui.editorActions"> 
    725     <editorContribution 
    726       targetID="jasko.tim.lisp.editors.LispEditor" 
    727       id="jasko.tim.lisp.menus"> 
    728       <action 
    729         class="jasko.tim.lisp.editors.actions.DisassembleAction" 
    730         definitionId="jasko.tim.lisp.actions.DisassembleAction" 
    731         id="jasko.tim.lisp.editors.actions.DisassembleAction" 
    732         label="&amp;Disassemble" 
    733         menubarPath="Lisp/grpCode" 
    734         tooltip="Disassembles the current function."> 
    735       </action> 
    736     </editorContribution> 
    737   </extension> 
    738    
    739   <!-- Macro-expand --> 
    740   <extension point="org.eclipse.ui.commands"> 
    741     <command 
    742       categoryId="jasko.tim.lisp.category1" 
    743       description="Macro-expands the current expression." 
    744       id="jasko.tim.lisp.actions.MacroExpandAction" 
    745       name="Macro-expand-1"/> 
    746   </extension> 
    747   <extension point="org.eclipse.ui.bindings"> 
    748     <key 
    749       commandId="jasko.tim.lisp.actions.MacroExpandAction" 
    750       contextId="jasko.tim.lisp.context1" 
    751       schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" 
    752       sequence="Alt+M"/> 
    753     <key 
    754       commandId="jasko.tim.lisp.actions.MacroExpandAction" 
    755       contextId="jasko.tim.lisp.context1" 
    756       schemeId="org.eclipse.ui.emacsAcceleratorConfiguration" 
    757       sequence="Ctrl+C Enter"/> 
    758   </extension> 
    759   <extension point="org.eclipse.ui.editorActions"> 
    760     <editorContribution 
    761       targetID="jasko.tim.lisp.editors.LispEditor" 
    762       id="jasko.tim.lisp.menus"> 
    763       <action 
    764         class="jasko.tim.lisp.editors.actions.MacroExpandAction" 
    765         definitionId="jasko.tim.lisp.actions.MacroExpandAction" 
    766         id="jasko.tim.lisp.editors.actions.MacroExpandAction" 
    767         label="&amp;Macroexpand-1" 
    768         menubarPath="Lisp/grpCode" 
    769         tooltip="Performs a single macro-expansion on the current expression."> 
    770       </action> 
    771     </editorContribution> 
    772   </extension> 
    773    
    774   <extension point="org.eclipse.ui.commands"> 
    775     <command 
    776       categoryId="jasko.tim.lisp.category1" 
    777       description="Macro-expands the current expression." 
    778       id="jasko.tim.lisp.actions.MacroExpandAllAction" 
    779       name="Macro-expand all"/> 
    780   </extension> 
    781   <extension point="org.eclipse.ui.bindings"> 
    782     <key 
    783       commandId="jasko.tim.lisp.actions.MacroExpandAllAction" 
    784       contextId="jasko.tim.lisp.context1" 
    785       schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" 
    786       sequence="Alt+Shift+M"/> 
    787     <key 
    788       commandId="jasko.tim.lisp.actions.MacroExpandAllAction" 
    789       contextId="jasko.tim.lisp.context1" 
    790       schemeId="org.eclipse.ui.emacsAcceleratorConfiguration" 
    791       sequence="Ctrl+C Esc M"/> 
    792   </extension> 
    793   <extension point="org.eclipse.ui.editorActions"> 
    794     <editorContribution 
    795       targetID="jasko.tim.lisp.editors.LispEditor" 
    796       id="jasko.tim.lisp.menus"> 
    797       <action 
    798         class="jasko.tim.lisp.editors.actions.MacroExpandAllAction" 
    799         definitionId="jasko.tim.lisp.actions.MacroExpandAllAction" 
    800         id="jasko.tim.lisp.editors.actions.MacroExpandAllAction" 
    801         label="&amp;Macroexpand-all" 
    802         menubarPath="Lisp/grpCode" 
    803         tooltip="Performs a full macro-expansion on the current expression."> 
    804       </action> 
    805     </editorContribution> 
    806   </extension> 
    807  
     808        tooltip="Find Definition"> 
     809      </action> 
     810    </editorContribution> 
     811  </extension> 
     812  <extension point="org.eclipse.ui.popupMenus">  
     813     <viewerContribution  
     814          id="jasko.tim.lisp.editors.LispEditor.popup" 
     815      targetID="jasko.tim.lisp.editors.LispEditor.context">  
     816        <action 
     817           id="jasko.tim.lisp.actions.FindDefinitionAction"  
     818           label="Find Definition" 
     819           menubarPath="Lisp"  
     820           class="jasko.tim.lisp.editors.actions.FindDefinitionAction">  
     821        </action>  
     822     </viewerContribution>  
     823  </extension> 
     824   
    808825 
    809826<!-- ============ grpEditNavigation ============