如何在 Intellij 中使用缩写内的变量名创建实时模板?
How do you create a live template in Intellij with a variable name inside the abbreviation?
我正在尝试使用如下缩写在 Intellij 中创建实时模板:
for$index_name$
创建模板文本:
for $index_name$ in
例如,我希望缩写 forj
产生 for j in
。我在 Intellij 的 live template documentation 中没有发现任何关于此的内容。如果这样的事情可能会怎么做?
来自 JetBrains 的人曾说过
"Such functionality is currently not available and not very likely to
be added in near future, sorry."
我正在尝试使用如下缩写在 Intellij 中创建实时模板:
for$index_name$
创建模板文本:
for $index_name$ in
例如,我希望缩写 forj
产生 for j in
。我在 Intellij 的 live template documentation 中没有发现任何关于此的内容。如果这样的事情可能会怎么做?
来自 JetBrains 的人曾说过
"Such functionality is currently not available and not very likely to be added in near future, sorry."