您好,欢迎来到二三娱乐。
搜索
您的当前位置:首页sublime配置

sublime配置

来源:二三娱乐

markdown

安装package:

MarkdownEditing
MarkdownExtended 代码语法高亮
Monokai Extended (syntax highlighting for Markdown, LESS, HTML, Handlebars and more)

在Preference->Package Settings->Markdown Editing->Markdown GEM Setting-User
和Preference->Package Settings->Markdown Editing->Markdown (Standard) Setting-User

设置主题为MarkdownExtended

{
    "color_scheme": "Packages/Monokai Extended/Monokai Extended.tmTheme"
}

react

安装package:

修改emment
使用super+e触发 emmet

打开 preferences -> Key bindings - Users,把下面代码复制到[]内部。

 {
      "keys": [
        "super+e"
      ],
      "args": {
        "action": "expand_abbreviation"
      },
      "command": "run_emmet_action",
      "context": [{
        "key": "emmet_action_enabled.expand_abbreviation"
      }]
    },
    {
      "keys": ["tab"],
      "command": "expand_abbreviation_by_tab",
      "context": [{
        "operand": "source.js",
        "operator": "equal",
        "match_all": true,
        "key": "selector"
      }, {
        "key": "preceding_text",
        "operator": "regex_contains",
        "operand": "(\\b(a\\b|div|span|p\\b|button)(\\.\\w*|>\\w*)?([^}]*?}$)?)",
        "match_all": true
      }, {
        "key": "selection_empty",
        "operator": "equal",
        "operand": true,
        "match_all": true
      }]
    }

Copyright © 2019- yule263.com 版权所有 湘ICP备2023023988号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务