zoukankan      html  css  js  c++  java
  • sublime的插件

    记录一下常用的插件:

    1. htmlpretty

    用于HTML、CSS、JS的格式化,以方便阅读代码。插件全名是HTML-CSS-JS Pretty。安装后使用方法是:

    打开一个HTML/CSS/JS文件,windows使用ctrl + shift + h执行格式化。

    该插件依赖于nodejs

    2.Emmet

    用于快捷输入代码。例如在html文件中,输入:table>(thead>tr>th*5)+(tbody>(tr>td*5)*3),再使用tab键即可快捷输入以下内容:

    <table>
            <thead>
                <tr>
                    <th></th>
                    <th></th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td></td>
                    <td></td>
                    <td></td>
                </tr>
                <tr>
                    <td></td>
                    <td></td>
                    <td></td>
                </tr>
            </tbody>
        </table>

    3.jshint

      用于js的语法检测,依赖于JSHint插件。因此,需要首先安装该插件。

      在linux/windows上,激活的快捷键是:

        control-j or alt-j in Linux/Windows or Tools/Contextual menus or the Command Palette
        F4 jump to next error row/column
        shift-F4 jump to previous error row-column
    
    Note: The control-j/alt-j shortcut changes the Build System on the current file to JSHint, then Builds to run JSHint on the file and output any errors for jumping to within the file. You could alternatively set the Build System to Automatic and command-b/control-b/F7, but only on files that end with .js.

     4. Saas

      Saas/SCSS脚本语法高亮插件

     5. HTML5

      添加HTML5语法模式和快捷输入

    6. jQuery

      经常用jQuery插件,不妨安装这个插件来提高输入代码的效率。

  • 相关阅读:
    【QT】Linux下安装QT开发环境
    【C#】Winform嵌入dll到exe中
    使用maven插件构建docker镜像并推送到阿里镜像仓库
    蓝牙耳机连接 win10音量异常
    max virtual memory areas vm.max_map_count [65530] is too low
    docker 安装 confluence
    jenkins docker push脚本
    docker 删除指定名称的所有容器
    docker 安装 xxl-job-admin
    docker 安装 sentinel
  • 原文地址:https://www.cnblogs.com/javawer/p/4212516.html
Copyright © 2011-2022 走看看