@4th-motion/vscode-config 中文文档教程

发布于 4年前 浏览 34 项目主页 更新于 3年前

@4th-motion/vscode-config

在项目之间共享基本 VSCode 设置和扩展的简单方法。

版本 License

使用此配置,您可以确保您团队中的所有开发人员都拥有相同的基础VSCode 的设置。 每个团队成员的个人设置不会被覆盖。


Installation

将这个包作为 devDependency 添加到你的项目中:

yarn add --dev @4th-motion/vscode-config


Usage

安装包后,你可以通过以下方式启动它:

yarn 4th-vscode


Behind the scenes

初始化过程复制 vscode/ settings.jsonvscode/extenstions.json 从此存储库到您的项目。 如果文件已经存在,则合并内容。


Customize to your needs

您可以将此项目重命名为 @company/vscode-config 以根据您的合作进行定制。 要更改初始化进程的名称,您必须修改 package.json 文件中 bin 中的字段,如下所示:

{
  "bin": {
    "company-vscode": "./index.js"
  }
}


Further documents


Related projects

@4th-motion/git-hooks@4th-motion/stylelint-config
@4th-motion/git-hooks@4th-motion/stylelint-config


License

Copyright © 2020 年,4th motion GmbH。 根据 MIT 许可 发布。

@4th-motion/vscode-config

An easy way to share basic VSCode settings and extensions between your projects.

Version License

With this config you can make sure that all developers in your team have the same basic settings for VSCode. Individual settings of each team member will not be overwritten.


Installation

Add this package as a devDependency to your project:

yarn add --dev @4th-motion/vscode-config


Usage

Once the package is installed, you can initiate it with:

yarn 4th-vscode


Behind the scenes

The initialization process copies vscode/settings.json and vscode/extenstions.json from this repository to your project. If the files already exist, the contents are merged.


Customize to your needs

You can rename this project to @company/vscode-config to tailor it to your cooporate. To change the name of the initialization process, you must modify the fields within bin in the package.json file as follows:

{
  "bin": {
    "company-vscode": "./index.js"
  }
}


Further documents


Related projects

@4th-motion/git-hooks@4th-motion/stylelint-config
@4th-motion/git-hooks@4th-motion/stylelint-config


License

Copyright © 2020 by 4th motion GmbH. Released under the MIT License.

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文