Freemarker - @ftlvariable does not work!

Hi,

When I "specify class to take toplevel properties ans methods form" (in comment in current file). IntelliJ does not find the class!

ftlvariable.png

Is it a bug or the declaration has changed ?

Thx for best product.

Emmanuel.

2 comments
Comment actions Permalink

There were recent changes in that area. Please ensure that the class is visible from the module where the ftl files are located via module dependencies.

0
Comment actions Permalink

Thank you Peter,

I use the FTL into static module. I have resolved the problem by adding the module include the class in library.

ftlvariable-01.png

ftlvariable-02.png
ftlvariable-03.png
ftlvariable-04.png

Great.

Emmanuel.

0

Please sign in to leave a comment.