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

  • 相关阅读:
    区分DPI、分辨率(PPI)、图像的物理大小、像素宽度
    生成缩略图方法
    C#中调用Windows API的要点 .
    改变变量触发事件
    窗体异步示例
    Scroll滚动后发生的改变
    绘制不同颜色的文本图片
    字符串绘图片
    c#生成缩略图
    衔接UI线程和管理后台工作线程的类(多线程、异步调用)
  • 原文地址:https://www.cnblogs.com/javawer/p/4212516.html
Copyright © 2011-2022 走看看