Open ndawod opened 1 month ago
Hi,
It should work, maybe I missed something for Kotlin data classes, but ctrl-click on an equivalent Java model works (at least it worked when I implemented it :)). I'll look into it.
AFAIK, data model
s are a Kotlin thing, unsure if Java has them? Anyway, thanks for looking into it!
Got a chance to look at the code? :)
I have many models which contain other models, for example (Kotlin code):
In the following Pebble template, autocomplete and Ctrl+Click (Command+Click on Mac) works for only the immediate descendent properties of
model.*
:As someone who's migrating from FreeMarker to Pebble, this is so much a needed feature (which works fine in FreeMarker but not in Pebble).
Am I doing something wrong? Or is this feature missing in the current implementation?