|Content Assist across contexts [message #636501]
||Mon, 01 November 2010 15:25
Registered: November 2010
The project I'm working on uses a lot of reflection through XML files.|
Essentially long method calls like
get turned into
This is pretty painful manually, I've designed a plan for making a plugin that would do it through navigating a tree of the objects and their methods/members and in a text box below generate the converted code.
However, since we edit the XML file in eclipse I was thinking maybe using content assist in a custom editor it could use the information of java from the project like any java file and provide the suggested converted completion.
So would this be possible?
From my research so far it seems content assist wants to work off of a context by the line number in a file, is there anyway to get it to return a list simply based on what it knows exists within the project given some letters?
Right now I type in the java editor and use the content assist already to make the call then manually change it to the xml reflection format.
Powered by FUDForum
. Page generated in 0.03004 seconds