Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » quick fix that uses templates?
quick fix that uses templates? [message #905660] Thu, 30 August 2012 20:34
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Hi,
Is it possible combine quick-fix with a template?
I have a case where user has to supply part of the fix.

I read about how to have a template provider, but this case is
different. User clicks on quick fix, sees a list of several options, and
I would like one or several of them to be able to use the template
mechanism when the text is inserted.

Any pointers or idea how to pull this off? My alternative is to quickfix
with text like _REPLACE_WITH_INTERFACE_NAME_ or something equally horrible.

Had one, perhaps stupid idea - what if I insert the name of a template
in the source text and activate template at that point?

Any suggestions welcome...

- henrik
Previous Topic:modeling external libraries
Next Topic:JvmFormalParameter rule ambigouous?
Goto Forum:
  


Current Time: Mon Feb 24 16:15:37 GMT 2020

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

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

Back to the top