as9567585
V2EX  ›  JetBrains

求助, WebStrom 怎么自动生成这种变量,太重复了

  •  
  •   as9567585 · Sep 16, 2024 · 1754 views
    This topic created in 630 days ago, the information mentioned may be changed or developed.

    img

    5 replies    2024-09-16 01:39:13 +08:00
    106npo
        1
    106npo  
       Sep 16, 2024
    live template 吧
    as9567585
        2
    as9567585  
    OP
       Sep 16, 2024
    @xmumiffy #1 live template 研究了一下,不知道怎么在上放插入变量,能说下吗? 🙏
    106npo
        3
    106npo  
       Sep 16, 2024
    $xxx$ 是变量
    as9567585
        4
    as9567585  
    OP
       Sep 16, 2024
    @xmumiffy #3 怎么选择位置呢,不是说把整个函数作为模版就行,因为后面还要在标签内部,再添加标签,还要继续在顶部添加变量
    106npo
        5
    106npo  
       Sep 16, 2024
    那得上插件了,或者 copilot 应该会生成
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2102 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 16:13 · PVG 00:13 · LAX 09:13 · JFK 12:13
    ♥ Do have faith in what you're doing.