Giter Club home page Giter Club logo

highlight-my-word's Introduction

Highlight My Word

插件功能:高亮自定义单词

功能

  • 高亮自定义单词
  • 支持主题切换

配置

配置 描述 示例
"highlight-my-word.basicTheme" 基础主题,配置词语与高亮颜色 {"$primary_color": "#3072F6"}
"highlight-my-word.themes" 多主题时的自定义对象,使用时会与 basicTheme 进行合并 { "driver": {"$primary_color": "#0DAF52"}, dark:{"$primary_color": "#595959"}}
"highlight-my-word.curThemeKey" 使用自定义主题时,对应主题的 key 'dark'

themes 与 basicTheme 同时配置时会进行合并,如下例所示,$primary_color最终会是#191919,但$text_color 是 #333333

配置示例

{
    "highlight-my-word.curThemeKey": "dark",
    "highlight-my-word.basicTheme": {
    "$primary_color": "#3072F6",
    "$text_color": "#333333"
  },
  "highlight-my-word.themes": {
    "driver": {
      "$primary_color": "#0DAF52",
    },
    "dark": {
      "$primary_color": "#191919",
    }
}

主题切换

可用以下方式

  • 点击底部状态栏:Highlight My Word
  • cmd + shift + P => 输入:切换主题(choose theme)
  • setting.json 中配置 curThemeKey

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.