zoukankan      html  css  js  c++  java
  • sublime常用插件及配置,自留自用

    1、Angularjs

    写angularjs经常操作template文件,没有一个ng-xx的提示真的很蛋疼是不是,有些服务的名字记不住是不是,那就用这个插件吧

    2、AutoFileName

    如果你的文件名是一些比较晦涩难懂的组合起来的单词,输入文件路径一定会很麻烦对不对,用这个插件可以让你直接弹出window资源选择窗口,选择文件后自动输入文件路径,我是sublime2,怎么设置都是无效的,网上有些人说sublime3是没问题的

    3、Docblockr

    自动补全注释,在函数声明前 写“ /** ” 然后按tab键就可以自动生成 /** @param @return */这样比较规范的注释,无疑会提高效率

    4、Emmet(原名zencoding

    http://blog.csdn.net/piayuan/article/details/10207359   链接里有详细的使用说明,必不可少的插件

    5、Git

    快加入git大军吧,svn虽然还有很多人在用,但是git你不能不会

    代码托管,这些网站都是非常不错的  https://coding.net/git   http://git.oschina.net/   github就不用说了,都知道

    6、HTML/CSS/JS prettify

    这是一款集成了格式化(美化)html、css、js三种文件类型的插件

    7、Terminal

    打开文件所在目录的cmd,非常方便,用grunt或gulp自动化经常要输入命令,一次又一次的cd~~或者找workspaces也很麻烦

    要改下默认配置

    {
        "terminal": "C:\Windows\System32\cmd.exe",
        "parameters": ["/START", "%CWD%"]
    }

    8、View in browser

    在浏览器中查看代码,配置快捷键之后,直接一键查看效果,用过hbuilder或者webstrome应该都知道

    {
        "posix": {
            "linux": {
                "firefox": "firefox -new-tab",
                "chrome": "google-chrome",
                "chrome64": "google-chrome",
                "chromium": "chromium"
            },
            "linux2": {
                "firefox": "firefox -new-tab",
                "chrome": "google-chrome",
                "chrome64": "google-chrome",
                "chromium": "chromium"
            },
            "darwin": {
                "firefox": "open -a "/Applications/Firefox.app"",
                "safari": "open -a "/Applications/Safari.app"",
                "chrome": "open -a "/Applications/Google Chrome.app"",
                "chrome64": "open -a "/Applications/Google Chrome.app"",
                "yandex": "open -a "/Applications/Yandex.app""
            }
        },
        "nt": {
            "win32": {
                "firefox": "C:\Program Files (x86)\Mozilla Firefox\firefox.exe -new-tab",
                "iexplore": "C:\Program Files\Internet Explorer\iexplore.exe",
                "chrome": "%Local AppData%\Google\Chrome\Application\chrome.exe",
                "360chrome":"%Local AppData%\360Chrome\Chrome\Application\360chrome.exe",
                "chrome64": "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe",
                "yandex": "%Local AppData%\Yandex\YandexBrowser\browser.exe"
            }
        },
    
        "browser": "360chrome"
    }

    自定义快捷键

    [
    { "keys": ["ctrl+shift+enter"], "command": "open_in_browser" },
    { "keys": ["ctrl+shift+s"], "command": "save_all"}
    ]

  • 相关阅读:
    leetcode: Search in Rotated Sorted Array
    leetcode: Linked List Cycle
    leetcode: Longest Valid Parentheses
    leetcode: Next Permutation
    leetcode: Substring with Concatenation of All Words
    leetcode: Divide Two Integers
    leetcode: Implement strStr()
    Spider Studio 新版本 (20131201)
    已知问题汇总 (2013-11-30)
    C#代码获取或设置Iframe中的HTML
  • 原文地址:https://www.cnblogs.com/jianjianwoshi/p/5162543.html
Copyright © 2011-2022 走看看