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插件,不妨安装这个插件来提高输入代码的效率。

  • 相关阅读:
    JVM的生命周期、体系结构、内存管理和垃圾回收机制
    JVM的ClassLoader过程分析
    MySQL Cluster配置概述
    tomcat下bin文件夹下shell文件分析
    Eclipse环境下使用Maven注意事项
    mysql服务器的字符集
    判断文件中是否存在中文字符
    Tomcat/JSP中文编码配置
    Java内存泄露的原因
    Python 开发轻量级爬虫08
  • 原文地址:https://www.cnblogs.com/javawer/p/4212516.html
Copyright © 2011-2022 走看看