V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
as9567585
V2EX  ›  JetBrains

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

  •  
  •   as9567585 · Sep 16, 2024 · 1681 views
    This topic created in 601 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   ·   3088 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 03:37 · PVG 11:37 · LAX 20:37 · JFK 23:37
    ♥ Do have faith in what you're doing.