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

IDEA 或者 Webstorm 这些每次新项目都需要设置规则也太麻烦了呀

  •  
  •   heishu · Sep 29, 2022 · 2912 views
    This topic created in 1502 days ago, the information mentioned may be changed or developed.

    idea 每次打开新项目后,都需要在 setting 里面手动进行 prettier 、stylelint 的设置,也太麻烦了,有没有可以设置一次,所有项目通用的方法啊???

    5 replies  •  2022-09-29 21:44:34 +08:00
    shawnwang340
    shawnwang340
    Sep 29, 2022
    1
    File -> New Projects Setup -> Settings for New Projects
    hccsoul
    hccsoul
    Sep 29, 2022
    2
    你要找的是不是
    heishu
    heishu
    OP
    Sep 29, 2022
    3
    @shawnwang340
    @hccsoul
    我靠,一直没发现可以针对新项目的设置,果然有事问 v 友
    intmax2147483647
    intmax2147483647
    Sep 29, 2022
    4
    补充一点,settings 也可以导出,换了电脑也能将之前习惯的配置导入进来。
    wuvvu
    wuvvu
    Sep 29, 2022
    5
    @intmax2147483647 #4
    再补充一点,登录 jetbrain 帐号可以云同步设置:)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4566 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 08:40 · PVG 16:40 · LAX 00:40 · JFK 03:40
    ♥ Do have faith in what you're doing.