Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>xes-saveNew to Visual Studio Code? Get it now.
xes-save

xes-save

lyun012

|
207 installs
| (1) | Free
do something when you save files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

xes-save

当Css/Less/Sass文件保存时,自动触发 stylelint 样式格式化

Features

  1. 当你的css/less/scss文件在保存的时候,插件直接执行stylelint --fix指令,格式化想要保存的样式文件
  2. 可以在首选项--配置中搜索"xesSave"来更改插件的相关配置
  3. 右击项目文件夹,xesSave: add .stylelintrc 直接添加 .stylelintrc.js 配置文件到当前项目

Extension Settings

该扩展插件为用户提供了以下几个设置项:

  • xesSave.execOnSave: 保存时是否执行 stylint --fix 指令,默认为 true
  • xesSave.isShowLint: 配置插件是否打印 stylelint 提示,默认为 true

Known Issues

其他功能,后续完善

Release Notes

0.0.1

  • A 新增:支持全局stylelint命令

0.0.2

  • A 新增:isShowLint配置项,可以配置插件是否打印stylelint提示

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft