爱意满满的作品展示区。
surunzi

写了个 vscode 插件对配置文件进行可视化编辑

  •  
  •   surunzi · Feb 14, 2023 · 3275 views
    This topic created in 1201 days ago, the information mentioned may be changed or developed.

    工作需要写了个类似 vscode 设置界面的东西,想着也可以用来支持常见的各类配置文件,这样修改配置时就不用总是切去翻文档了。

    目前仅支持 .prettierrc.json 的可视化配置,后续会增加其它常见配置的支持。

    仓库: https://github.com/liriliri/vscode-settings-editor

    插件: https://marketplace.visualstudio.com/items?itemName=liriliri.vscode-settings-editor

    vscode-settings-editor

    7 replies    2023-02-19 12:07:26 +08:00
    kele999
        1
    kele999  
       Feb 14, 2023
    挺好的
    shenhuilin0
        2
    shenhuilin0  
       Feb 15, 2023 via Android
    可以
    xuanyuanaosheng
        3
    xuanyuanaosheng  
       Feb 15, 2023
    看着不错,一会下载下来试试
    surunzi
        4
    surunzi  
    OP
       Feb 15, 2023
    @xuanyuanaosheng 欢迎提建议:)
    ourongxing
        5
    ourongxing  
       Feb 16, 2023   ❤️ 1
    思路不错,应该可以通过 schema 快速适配。看看这个,https://github.com/SchemaStore/schemastore/blob/master/src/api/json/catalog.json
    surunzi
        6
    surunzi  
    OP
       Feb 16, 2023 via iPhone
    @ourongxing 一开始看过了,目前用 schema 需要做通用化并不如自己硬编写高效跟自由,效果也不好,后边对一些不常用的配置可能会通过 schema 快速生成。
    surunzi
        7
    surunzi  
    OP
       Feb 19, 2023
    @ourongxing 已经通过 schema 对一些配置文件进行了快速适配,目前支持完整列表,欢迎试用:)

    * miniprogram
    - project.config.json
    - project.private.config.json
    - project.miniapp.json
    - app.json
    - page.json
    * npm
    - package.json
    - .npmrc
    * prettier
    - .prettierrc
    * typescript
    - tsconfig.json
    * cypress
    - cypress.json
    * lerna
    - lerna.json
    * Istanbul
    - .nycrc
    * Babel
    - .babelrc
    * Eslint
    - .eslintrc
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3382 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 00:05 · PVG 08:05 · LAX 17:05 · JFK 20:05
    ♥ Do have faith in what you're doing.