Skip to main content

Tedshd's Dev note

‎Sublime Text - Plug-In

Table of Contents

# Plug-In

Install by Package Control

Fisrt use sublime need install Package Control Ctrl + ~ show command line enter

import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'

restart sublime finish

## ZenCoding

## jsFormat

讓 js 整齊 ctrl + alt + f GitHub

## SublimeTmpl

載入預設的樣板

快速輸入

## Gist

## BracketHighlighter

## Themes

  • Dayle Rees Color Schemes
  • Farzher
  • Fox

## sublime-jslint

GitHub

{
    // Path to the jslint jar.
    // Leave blank to use bundled jar.
    "jslint_jar": "",

    // Options pass to jslint.
    "jslint_options": "--continue --nomen --regexp --sloppy",

    // Ignore errors, regex.
    "ignore_errors":
    [
        // "Expected an identifier and instead saw 'undefined' \(a reserved word\)"
    ],

    // run jslint on save.
    "run_on_save": true,

    // debug flag.
    "debug": false
}

## javascript and jQuery API Completions

GitHub

## Better Completion

## PHPLntel

## SublimeLinter

SublimeLinter-for-ST2

"sublimelinter_popup_errors_on_save": true
"sublimelinter_mark_style": "fill"
"sublimelinter_gutter_marks": true

## ColorPicker

調色盤 GitHub

## SCSS

GiHub

## SFTP

利用 SFTP 連 server Sublime SFTP

## DocBlockr

加強添加注釋 /** 按 tab GitHub

## ASCII-Decorator

利用 ASCII 文字當注釋 選擇要轉的文字後, 選選單的 Edit -> ASCII-Decorator, 就會轉換了 GitHub

## Bootstrap 3 Snippets

GitHub

## Marking Changed Rows

GitHub

## ColorHighlighter

顯示 HEX 顏色 GitHub

## AlignTab

對齊 :, =, … GitHub

## Find Function Definition

找到 function 定義的位置 Find Function Definition

## sublimetext-markdown-preview

Preview Markdown 文件 sublimetext-markdown-preview

## sublimeBookmark

可以 mark line, 方便臨時標記找 code sublimeBookmark

## CSS format

CSS Format

# Sublime text 3

## JSLint

JSLint

## JSHint

jshint

## sublimeLinter

## SublimeLinter-annotations

highlight TODO, README and FIXME SublimeLinter-annotations