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"] //文件
    }
  • 相关阅读:
    函数
    函数知识点 --- 函数的认知,组成,格式 --------------- #10
    打包app
    vue ie
    css position
    awesome vue
    20110636乐建18588529432
    vue2.0-基于elementui换肤[自定义主题]
    三目运算符,多条件判断
    微信二次开发准备工作
  • 原文地址:https://www.cnblogs.com/ignacio/p/6774982.html
Copyright © 2011-2022 走看看