Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » How manage Completion for Java Model with Freemarker script.
How manage Completion for Java Model with Freemarker script. [message #547868] Mon, 19 July 2010 22:23
Angelo ZERR is currently offline Angelo ZERRFriend
Messages: 122
Registered: July 2009
Senior Member
Hi DLTK Team,

I'm developping DLTK IDE for Freemarker template engine that you can find at DLTK Freemarker Eclipse Plugin and I would like manage Completion for Java Model used into Freemarker template. For instance you have the Java Model :

models.put("className", "MyClass");

and Freemarker Template script:

public class ${className} {


I would like manage autocompletion after the ${ character and show 'className' into the autocompletion. I tell me which is the best solution. My first idea is to implement ScriptCompletionEngine and manage that into it. But perhaps it should be better to create DLTK AST by using Freemarker Interpolation token (classname) and use the AST?

Thank a lot for your help and suggestion.

Regards Angelo
Previous Topic:Spaces only
Next Topic:[BUILD] I-I201008060543-201008060543
Goto Forum:

Current Time: Wed Sep 19 03:46:43 GMT 2018

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

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

Back to the top