Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Adding code assist custom
Adding code assist custom [message #323996] Tue, 15 January 2008 15:31 Go to next message
Eclipse UserFriend
Originally posted by: napo.NOPRIVATEMESSAGE.com

Hi all,
I'm working on Eclipse 3.3 and I want to realize a plugin to manage some
XML-like files. The right syntax of my files is managed by a DTD descriptor
and I want to add the "code assist" function to my editor, so I can press
"CTRL+SPACE" and have the suggestion of the element to add.

How to do that? Maybe a tutorial?

Hi
Marco
Re: Adding code assist custom [message #324120 is a reply to message #323996] Thu, 17 January 2008 12:06 Go to previous messageGo to next message
Eclipse UserFriend
napo wrote:

>Hi all,
>I'm working on Eclipse 3.3 and I want to realize a plugin to manage some
>XML-like files. The right syntax of my files is managed by a DTD descriptor
>and I want to add the "code assist" function to my editor, so I can press
>"CTRL+SPACE" and have the suggestion of the element to add.
>
>How to do that? Maybe a tutorial?
>
>
Take a look at the Java editor sample
(org.eclipse.ui.examples.javaeditor) or look at this tutorial:
http://www.eclipse.org/eclipse/platform-text/eclipseCon/2006 /texteditorrecipes.zip

HTH
Dani

>Hi
>Marco
>
>
>
>
Re: Adding code assist custom [message #324132 is a reply to message #324120] Thu, 17 January 2008 14:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: napo.NOPRIVATEMESSAGE.com

> Take a look at the Java editor sample (org.eclipse.ui.examples.javaeditor)
> or look at this tutorial:
> http://www.eclipse.org/eclipse/platform-text/eclipseCon/2006 /texteditorrecipes.zip

This tutorial seems very interesting.
I'll study it.

Tnx
Marco
Re: Adding code assist custom [message #324201 is a reply to message #324120] Sat, 19 January 2008 09:08 Go to previous message
Eclipse UserFriend
Originally posted by: napo.NOPRIVATEMESSAGE.com

> Take a look at the Java editor sample (org.eclipse.ui.examples.javaeditor)
> or look at this tutorial:
> http://www.eclipse.org/eclipse/platform-text/eclipseCon/2006 /texteditorrecipes.zip

Well, there's a little bit of work to do to link the editor content with a
DTD descriptor validator file...
I'll try to do.

Hi
Marco
Previous Topic:How can I find out, which plugin/feature refers to a missing feature?
Next Topic:Discover Bundle from Class instance
Goto Forum:
  


Current Time: Mon Jul 14 20:39:48 EDT 2025

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

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

Back to the top