• 请不要在回答技术问题时复制粘贴 AI 生成的内容
MagicCoder
V2EX  ›  程序员

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

  •  
  •   MagicCoder · Oct 10, 2024 · 1681 views
    This topic created in 762 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
    ShiBuYi
    ShiBuYi
    Oct 10, 2024
    1


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