Giter VIP home page Giter VIP logo

setting-switch's Introduction

Setting Switch

简介

有时我们需要经常改变系统或扩展的设置,经常打开设置扩展设置就比较繁琐,这个扩展可以自定义配置项,将其固定在状态栏,从而一键切换。

示例

值为 boolean 的配置。key 是按钮文案,value 是要切换的配置项。注意:只能是值为 boolean 的配置项。

{
  "settingSwitch.boolean": {
    "Eslint": "eslint.enable",
    "Format": "editor.formatOnSave,editor.formatOnPaste" /* 配置项之间用`","`分隔 */
  }
}

按钮初始状态会根据第一个配置项生成。

值为 string 的配置。

{
  "settingSwitch.string": [
    {
      "text": "AutoSave", /* 按钮文字 /*
      "key": "files.autoSave", /* 配置项 */
      "value": ["onWindowChange", "onFocusChange", "off"] /* 自定义选项 */
    }
  ]
}

setting-switch's People

Contributors

like0413 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

setting-switch's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.