V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
MagicCoder
V2EX  ›  程序员

webstorm 创建文件后的模版内容如何修改

  •  
  •   MagicCoder · Oct 10, 2024 · 1226 views
    This topic created in 571 days ago, the information mentioned may be changed or developed.

    如图一所示,vue 文件创建后换行了,不符合我的习惯,图二是我的习惯。

    有好兄弟/姐妹知道怎么更改吗?

    image-20241010144720395

    image-20241010144802082

    7 replies    2024-10-10 22:08:33 +08:00
    gotOwt
        1
    gotOwt  
       Oct 10, 2024


    你看看,我是预设了模板。
    但是会随着项目的 prettier 而格式化(如果项目有 prettier 的话)。
    chenluo0429
        2
    chenluo0429  
       Oct 10, 2024 via Android
    Editor/File and Code Templates
    MagicCoder
        3
    MagicCoder  
    OP
       Oct 10, 2024
    @tog 搞定了,谢啦
    MagicCoder
        4
    MagicCoder  
    OP
       Oct 10, 2024
    @chenluo0429 搞定了,谢啦
    gotOwt
        5
    gotOwt  
       Oct 10, 2024
    @BaymaxK #3 大佬不用 vscode 了?
    MagicCoder
        6
    MagicCoder  
    OP
       Oct 10, 2024
    @tog 🤣我一直是 webstorm 玩家
    tlerbao
        7
    tlerbao  
       Oct 10, 2024
    @tog #5 webstorm 还是强
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2629 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 05:42 · PVG 13:42 · LAX 22:42 · JFK 01:42
    ♥ Do have faith in what you're doing.