有没有一种方法可以在PhpStorm模板中定义一个变量,以便为用户提供一个组合框?

时间:2019-08-13 23:08:25

标签: phpstorm apache-velocity

在PhpStorm中,我想在一个自定义PHP模板中定义一个变量以显示组合框。在模板内为用户提供输入非常容易...

我的模板

enter image description here

结果

enter image description here

但是我想要一个变量,让用户通过组合框(如PHP Class模板)为用户提供选择列表。

我尝试了这个但没有成功:

${choices} = ["choice 1", "choice 2"]

PhpStorm是否可能?

0 个答案:

没有答案
相关问题