We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set
版本号: 0.9.1 问题:
{# @pebvariable name="foo" type="com.github.syzsh.test.TestPebble.Foo" #} {% set bar=foo.bar %} {# 这里是正常的 #} {{ bar.str }} {# 代码完成不起作用 #} {# @pebvariable name="bar" type="com.github.syzsh.test.TestPebble.Bar" #} {{ bar.str }} {# 加上了pebvariable注释, 仍然不起作用 #} {{ foo.bar.str }} {# 这样写是可以的 #} {# class Foo { public Bar bar; public Foo(Bar bar) { this.bar = bar; } } class Bar { public String str; public Bar(String str) { this.str = str; } } #}
请求协助~ 多谢~
The text was updated successfully, but these errors were encountered:
Translation: autocompletion does not work on variables defined using the set tag:
{% set bar=foo.bar %} {# new variable defined here #} {{ bar.str }} {# no autocompletion #}
Sorry, something went wrong.
No branches or pull requests
版本号: 0.9.1
问题:
请求协助~
多谢~
The text was updated successfully, but these errors were encountered: