Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Optimize imports on content proposal
Optimize imports on content proposal [message #1219258] Mon, 02 December 2013 22:56 Go to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 254
Registered: July 2009
Location: Germany
Senior Member
Hi anyone,

I have xtext dsls with FQN (Crossreferences, Java....).
Is it possible to automatically optimize import on the content which is taken over after content proposal?

Would be nice, if you could give me a hint.

Cheers
Markus
Re: Optimize imports on content proposal [message #1219280 is a reply to message #1219258] Tue, 03 December 2013 06:46 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 6499
Registered: July 2009
Senior Member
Hi,

you could port/adapt the xbase code (ImportOrganizingProposal) for that. http://www.eclipse.org/forums/index.php/m/1173973/?srch=IReplacementTextApplier#msg_1173973
Previous Topic:Is there a memory leak of xtext editors opened by debugger?
Next Topic:How to check from my Java code whether there are any validation errors in DSL editor
Goto Forum:
  


Current Time: Fri Nov 28 12:37:52 GMT 2014

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

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