【问题标题】:How do you create a live template in Intellij with a variable name inside the abbreviation?如何在 Intellij 中创建一个在缩写中带有变量名的实时模板?
【发布时间】:2019-12-01 04:36:35
【问题描述】:

我正在尝试使用以下缩写在 Intellij 中创建实时模板:

for$index_name$

创建模板文本:

for $index_name$ in 

例如,我希望缩写forj 产生for j in。我在 Intellij 的 live template documentation 中没有找到任何关于此的信息。如果有这样的事情可能怎么办?

【问题讨论】:

标签: python intellij-idea live-templates


【解决方案1】:

来自JetBrains 的人说过

“此类功能目前不可用,也不太可能 近期会添加,抱歉。”

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-03-12
    • 2017-10-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-01-24
    • 1970-01-01
    • 2015-05-07
    相关资源
    最近更新 更多