zoukankan      html  css  js  c++  java
  • vue sublime 工欲善其事,必先利其器

    vue 代码高亮插件:

    Vue Syntax Hightlight

    vue代码自动格式化:

    HTML/CSS/JS Prettify 这个插件就行, 安装后 tools->HTML/CSS/JS Prettify->set prettify preference

     在"allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg","vue"] 加上vue就好了

    (HTML/CSS/JS Prettify插件要配置正确的node_path)

    保持风格统一:

    "indent_size": 2,

    "brace_style": "collapse-preserve-inline",

    保存自动格式化:

    set the format_on_save setting to true in HTMLPrettify.sublime-settings

    ---------------------------17.9.19更新

    Preference.sublime-settings:

    {
      "auto_match_enabled": false,
      "color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme",
      "font_size": 11,
      "highlight_line": false,
      "ignored_packages": [
        "Vintage"
      ],
      "match_brackets_angle": true,
      "update_check": false,
      "word_wrap": true,
      "folder_exclude_patterns": ["node_modules", "build", ".css"], //文件夹
      "file_exclude_patterns": ["*.min.css", "*.svg", "*.lock"] //文件
    }
  • 相关阅读:
    洛谷#P5652#基础博弈练习题
    hgoi#20191112
    hgoi#20191111
    hgoi#20191109
    洛谷#P3674#小清新人渣的本愿
    hgoi#20191108
    hgoi#20191107
    树上差分
    树链剖分(树剖)
    LCA(最近公共祖先)问题
  • 原文地址:https://www.cnblogs.com/ignacio/p/6774982.html
Copyright © 2011-2022 走看看