Hyojun.couch-bootstrap Snippets
Snippets for Sublime Text
Details
Installs
- Total 4K
- Win 3K
- Mac 264
- Linux 250
| Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- bitbucket.org
Hyojun.couch-bootstrap Snippets para o Sublime Text
Este repositório contém todos os snippets a serem instalados via Package Control. Apenas faz sentido para usuários do projeto Hyojun.couch-bootstrap.
A lista de código fonte abaixo mostra o ponto do tab com os $1, $2, etc. o valor padrão quando houver ${1:valor} e $0 é o último tab:
kedit ↦
Existem 3 opções de kedit:
Image
Escreve a tag editable para imagens, considerando o show preview como opcional:
<cms:editable name="$1"
label="$2"
type="image"
${3:show_preview="1"
preview_width="${4:200}"
preview_height="${5:200}"}
>${6:$SELECTION}</cms:editable>$0
Richtext
Escreve a tag editable para richtext, já considerando os valores padrões do couch-bootstrap:
<cms:editable name="$1"
label="$2"
type="richtext"
toolbar="custom"
custom_toolbar="${3:<cms:show rt_default />}"
height="${4:<cms:show rt_height />}"
>${5:$SELECTION}</cms:editable>$0
Vazio
Escreve a tag editable para ser preenchida, útil para os tipos restantes de editable:
<cms:editable name="$1"
label="$2"
type="${3:text}"
>${4:$SELECTION}</cms:editable>$0
kshow ↦
Escreve a tag show:
<cms:show ${1:$SELECTION} />$0
kset ↦
Escreve a tag set:
<cms:set ${1:$SELECTION}="$2" />$0
kembed ↦
Escreve a tag embed:
<cms:embed "${1:$SELECTION}" />$0
khelper ↦
Escreve a tag set e a tag embed em seguida. O valor da tag set é preenchido automaticamente com o caminho do helper.
${2:<cms:set hlp_${1/\//_/g}_$3="$4" />}
<cms:embed "helpers/${1:$SELECTION}.php" />$0
kif ↦
Escreve a tag if:
<cms:if ${1:$SELECTION} ${2:==} $3>$4</cms:if>$0
kthumb ↦
Escreve a tag thumbnail
<cms:thumbnail ${1:$SELECTION} width='$2' ${3:height='$4' crop='${5:1}'} />$0
ktag ↦
Snippet abstrato para criação de qualquer tag:
<cms:${1:$SELECTION} $2 />$0