Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » QuickFix for my editor
QuickFix for my editor [message #301266] Mon, 27 March 2006 02:52 Go to next message
Eclipse UserFriend
Originally posted by: jacekp.siat.pl

Hello!
I would like to add QuickFixes to my editor quite like it is done in
jdt. In details this means there should be an option in menu
"Edit->Quick Fix" with accelerator Ctrl+1. What is the best way to do this?
As for now I've only seen extension point dedicated only for java editor
(org.eclipse.jdt.ui.quickfixprocessors).

Jacek
Re: QuickFix for my editor [message #301271 is a reply to message #301266] Mon, 27 March 2006 05:22 Go to previous messageGo to next message
Eclipse UserFriend
I believe this is the org.eclipse.ui.ide.markerResolution extension point.

You will need to write a class that implements IMarkerResolutionGenerator
and should return a markerResolution depending on some attribute of the
marker.

Hope this helps
Chris
Re: QuickFix for my editor [message #301285 is a reply to message #301271] Mon, 27 March 2006 07:22 Go to previous message
Eclipse UserFriend
Originally posted by: jacekp.siat.pl

Chris napisał(a):
> I believe this is the org.eclipse.ui.ide.markerResolution extension point.
> You will need to write a class that implements
> IMarkerResolutionGenerator and should return a markerResolution
> depending on some attribute of the marker.

hello Chris!
Are You sure? We have actually already implemented markerResolution and
it works (ie. in Problems view, QuickFix option is visible under right
mouse button). The thing about what I've said, was a kind of
ContetAssistant box showing after pressing Ctrl+1 or choosing QuickFix
from Edit menu.

Jacek
Previous Topic:Custom DocumentProvider question
Next Topic:How to assign keys to an action
Goto Forum:
  


Current Time: Tue Jul 22 15:38:42 EDT 2025

Powered by FUDForum. Page generated in 0.04569 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top