Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Getting Intellij to pick up Freemarker macros

$
0
0

I'm trying to get intellij to properly pick up freemarker macros defined in includes.

 

If I create a file base.ftl that has:

 

[#macro test name]

Hello ${name}

[/#macro]

 

And another file index.ftl:

[#include "/base.ftl" /]

 

[@test name="John" /]

 

 

Intellij doesn't complain about finding base.ftl, but it complains it can't resolve the macro test.

 

Any way to fix this?

 

Thanks.


Viewing all articles
Browse latest Browse all 5661

Trending Articles