Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Content Assist across contexts
Content Assist across contexts [message #636501] Mon, 01 November 2010 15:25
zmaker5 is currently offline zmaker5Friend
Messages: 4
Registered: November 2010
Junior Member
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.
Previous Topic:How to add java project's classpath to a plug-in's classpath?
Next Topic:Add the eclipse install manager to eclipse based application?
Goto Forum:

Current Time: Mon Jun 18 12:03:49 GMT 2018

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

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

Back to the top