Giter Club home page Giter Club logo

vscode-flower's Introduction

野花鼓励师

forked form formulahendry/vscode-ycy

在 VS Code 中连续不写代码30分钟(时间可配置),会有野花提醒你别颓啦~

使用

除了不输入30分钟会自动弹出提醒页面,也可以按 F1, 然后输入 flower: 打开提醒页面来打开提醒页面

usage

配置

  • flower.name: 窗口标题(默认值为野花
  • flower.reminderViewIntervalInMinutes: 展示提醒页面的时间间隔(分钟)(重新加载窗口后起效)。(默认值为30)
  • flower.title: 提示文字。 (默认值为又无聊啦?)
  • flower.type: 指定图片类型:default (默认图);url (网络图)。(默认值为default)
  • flower.customImages: 配置图片数组(需要搭配flower.type为url) (默认值为默认图片)
如下例子,使用自定义图片:
"flower.type": "url",
"flower.customImages": [
    "https://github.io/mxdh/vscode-flower/image/flower/01.jpg"
]

如何使用本地图片作为展示图片

  • vscode不允许读取外部文件路径,所以只能自己去替换插件内的图片。替换步骤如下:

    1、找到vscode插件安装的地方 (如mac 在~/.vscode/extensions/mxdh.flower-{version})

    2、替换images/flower内图片

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.