Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

DLTK Adding Quick Fix Support

Summary

This mini tutorial outlines the steps required to add quick fix support to your plugin.

Prerequisites

Steps

  • Setup the action delegate that will handle 'single' clicks that occur in the vertical ruler of the script editor when an annotation is present.
<extension point="org.eclipse.ui.editorActions">
  <editorContribution
    targetID="org.perlipse.ui.editor.perlipseEditor"
    id="org.perlipse.ui.editor.actions">
    <action
      label="Perlipse Editor Ruler"
      class="org.eclipse.dltk.ui.actions.ScriptEditorRulerActionDelegate:org.perlipse.core.perlipseNature"
      actionID="RulerClick"
      id="org.perlipse.ui.editor.actions.ruler">
    </action>
  </editorContribution>
</extension>

Back to the top