Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » OSGi Enterprise Tools » Eclipse Plugin ContentAssist suggestions(ContentAssist variable sussestions)
Eclipse Plugin ContentAssist suggestions [message #1761033] Fri, 05 May 2017 13:01
Michal Michal is currently offline Michal MichalFriend
Messages: 1
Registered: May 2017
Junior Member
Hello,

Im currently took over an eclipse plugin we have developed in our company. The plugin works with XML based language, that we use for scripting (basically our language).

Currently the plugin (ContentAssist) can suggest XML elements and attributes. We would like to exceed it to suggest also variables. Im looking for some best practices or guide what will be the best way to do it.

We do not do any build, only a validation, what is done by Editor. We have 3 types of variables, temporary, local and global.

Temporary is availalbe within one element.
Local is available within a parent element (so its availble to child elements).
Glogal is availalbe within a context, but is more files and be part of the same context.

So Im going to work with a lot of data here.

Example:
<onStart device="${#Project#deviceAddress}">
<text>$local:myText<text>
</onStart>

onStart is element and device is attribute.

Any ideas? I dont think there is some tool I can use, so I need to create it myself.

Thank you
Previous Topic:Ho to provide ContentProvider and LabelProvider to Emf Compare dialog/Editor
Next Topic:What does it take to add an editor as an internal editor?
Goto Forum:
  


Current Time: Wed Dec 11 23:18:26 GMT 2024

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

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

Back to the top