mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
update
This commit is contained in:
parent
e53a643e3d
commit
1ab37bd478
209 changed files with 79957 additions and 0 deletions
651
my-snippets/html/snippets/css.json
Normal file
651
my-snippets/html/snippets/css.json
Normal file
|
@ -0,0 +1,651 @@
|
|||
{
|
||||
"align-items": {
|
||||
"prefix": "ai",
|
||||
"body": "align-items: ${1|flex-start,flex-end,center,baseline,stretch,start,end,self-start,self-end|};",
|
||||
"description": "initial value: stretch"
|
||||
},
|
||||
"align-items: baseline": {
|
||||
"prefix": "aib",
|
||||
"body": "align-items: baseline;"
|
||||
},
|
||||
"align-items: center": {
|
||||
"prefix": "aic",
|
||||
"body": "align-items: center;"
|
||||
},
|
||||
"align-items: flex-start": {
|
||||
"prefix": "aifs",
|
||||
"body": "align-items: flex-start;"
|
||||
},
|
||||
"align-items: flex-end": {
|
||||
"prefix": "aife",
|
||||
"body": "align-items: flex-end;"
|
||||
},
|
||||
"align-items: stretch": {
|
||||
"prefix": "ais",
|
||||
"body": "align-items: stretch;"
|
||||
},
|
||||
"align-self": {
|
||||
"prefix": "as",
|
||||
"body": "align-items: ${1|flex-start,flex-end,center,baseline,stretch,auto|};",
|
||||
"description": "initial value: auto"
|
||||
},
|
||||
"animation": {
|
||||
"prefix": "ani",
|
||||
"body": "animation: ${1:name} ${2:1s} ${3|linear,ease-in-out,ease,ease-in,ease-out,step-start,step-end,steps,cubic-bezier|};",
|
||||
"description": "animation: name duration timing-function delay direction count fill-mode play-state"
|
||||
},
|
||||
"animation-delay": {
|
||||
"prefix": "anide",
|
||||
"body": "animation-delay: ${0:1s};"
|
||||
},
|
||||
"animation-direction": {
|
||||
"prefix": "anidi",
|
||||
"body": "animation-direction: ${1|alternate,alternate-reverse,reverse,normal|};",
|
||||
"description": "initial value: normal"
|
||||
},
|
||||
"animation-duratuion": {
|
||||
"prefix": "anidu",
|
||||
"body": "animation-duration: ${0:1s};"
|
||||
},
|
||||
"animation-fill-mode": {
|
||||
"prefix": "anifm",
|
||||
"body": "animation-fill-mode: ${1|forwards,backwards,both,none|};",
|
||||
"description": "initial value: none"
|
||||
},
|
||||
"animation-iteration-count": {
|
||||
"prefix": "aniic",
|
||||
"body": "animation-iteration-count: ${0:infinite};",
|
||||
"description": "initial value: 1"
|
||||
},
|
||||
"animation-name": {
|
||||
"prefix": "anin",
|
||||
"body": "animation-name: ${0:name};"
|
||||
},
|
||||
"animation-play-state": {
|
||||
"prefix": "anips",
|
||||
"body": "animation-play-state: ${1|paused,running|};",
|
||||
"description": "initial value: running"
|
||||
},
|
||||
"animation-timing-function": {
|
||||
"prefix": "anitf",
|
||||
"body": "animation-timing-function: ${1|linear,ease,ease-in-out,ease-in,ease-out,step-start,step-end,steps,cubic-bezier|};",
|
||||
"description": "initial value: ease"
|
||||
},
|
||||
"background": {
|
||||
"prefix": "bg",
|
||||
"body": "background: ${0:#fff};",
|
||||
"description": "background: image position/size repeat attachment box box"
|
||||
},
|
||||
"background-attachment": {
|
||||
"prefix": "bga",
|
||||
"body": "background-attachment: ${1|fixed,scroll,local|};",
|
||||
"description": "initial value: scroll"
|
||||
},
|
||||
"background-color": {
|
||||
"prefix": "bgc",
|
||||
"body": "background-color: ${0:#fff};"
|
||||
},
|
||||
"background-clip": {
|
||||
"prefix": "bgcl",
|
||||
"body": "background-clip: ${1|border-box,padding-box,content-box,text|};",
|
||||
"description": "initial value: border-box"
|
||||
},
|
||||
"background-image": {
|
||||
"prefix": "bgi",
|
||||
"body": "background-image: url('${0:background.jpg}');"
|
||||
},
|
||||
"background-origin": {
|
||||
"prefix": "bgo",
|
||||
"body": "background-origin: ${1|border-box,padding-box,content-box|};",
|
||||
"description": "initial value: padding-box"
|
||||
},
|
||||
"background-position": {
|
||||
"prefix": "bgp",
|
||||
"body": "background-position: ${1:left} ${2:top};"
|
||||
},
|
||||
"background-repeat": {
|
||||
"prefix": "bgr",
|
||||
"body": "background-repeat: ${1|no-repeat,repeat-x,repeat-y,repeat,space,round|};",
|
||||
"description": "initial value: repeat"
|
||||
},
|
||||
"background-repeat: repeat": {
|
||||
"prefix": "bgrr",
|
||||
"body": "background-repeat: repeat;"
|
||||
},
|
||||
"background-repeat: repeat-x": {
|
||||
"prefix": "bgrx",
|
||||
"body": "background-repeat: repeat-x;"
|
||||
},
|
||||
"background-repeat: repeat-y": {
|
||||
"prefix": "bgry",
|
||||
"body": "background-repeat: repeat-y;"
|
||||
},
|
||||
"background-repeat: no-repeat": {
|
||||
"prefix": "bgrn",
|
||||
"body": "background-repeat: no-repeat;"
|
||||
},
|
||||
"background-size": {
|
||||
"prefix": "bgs",
|
||||
"body": "background-size: ${0:cover};"
|
||||
},
|
||||
"border": {
|
||||
"prefix": "bor",
|
||||
"body": "border: ${1:1px} ${2|solid,dashed,dotted,double,groove,ridge,inset,outset,none,hidden|} ${0:#000};"
|
||||
},
|
||||
"border: none": {
|
||||
"prefix": "born",
|
||||
"body": "border: none;"
|
||||
},
|
||||
"border-color": {
|
||||
"prefix": "borc",
|
||||
"body": "border-color: ${0:#000};"
|
||||
},
|
||||
"border-style": {
|
||||
"prefix": "bors",
|
||||
"body": "border-style: ${1|solid,dashed,dotted,double,groove,ridge,inset,outset,none,hidden|};"
|
||||
},
|
||||
"border-width": {
|
||||
"prefix": "borw",
|
||||
"body": "border-width: ${0:1px};"
|
||||
},
|
||||
"border-bottom": {
|
||||
"prefix": "borb",
|
||||
"body": "border-bottom: ${1:1px} ${2|solid,dashed,dotted,double,groove,ridge,inset,outset,none,hidden|} ${0:#000};"
|
||||
},
|
||||
"border-left": {
|
||||
"prefix": "borl",
|
||||
"body": "border-left: ${1:1px} ${2|solid,dashed,dotted,double,groove,ridge,inset,outset,none,hidden|} ${0:#000};"
|
||||
},
|
||||
"border-right": {
|
||||
"prefix": "borr",
|
||||
"body": "border-right: ${1:1px} ${2|solid,dashed,dotted,double,groove,ridge,inset,outset,none,hidden|} ${0:#000};"
|
||||
},
|
||||
"border-top": {
|
||||
"prefix": "bort",
|
||||
"body": "border-top: ${1:1px} ${2|solid,dashed,dotted,double,groove,ridge,inset,outset,none,hidden|} ${0:#000};"
|
||||
},
|
||||
"border-radius": {
|
||||
"prefix": "br",
|
||||
"body": "border-radius: ${0:2px};"
|
||||
},
|
||||
"bottom": {
|
||||
"prefix": "bot",
|
||||
"body": "bottom: ${0:0};"
|
||||
},
|
||||
"box-shadow": {
|
||||
"prefix": "bos",
|
||||
"body": "box-shadow: ${1:1px} ${2:1px} ${3:1px} ${4:1px} ${0:rgba(0, 0, 0, .5)};",
|
||||
"description": "box-shadow: x-offset y-offset blur spread color"
|
||||
},
|
||||
"box-sizing": {
|
||||
"prefix": "boz",
|
||||
"body": "box-sizing: ${1|border-box,content-box|};",
|
||||
"description": "initial value: content-box"
|
||||
},
|
||||
"clear": {
|
||||
"prefix": "clr",
|
||||
"body": "clear: ${1|both,left,right,none|};"
|
||||
},
|
||||
"color": {
|
||||
"prefix": "col",
|
||||
"body": "color: ${0:#000};"
|
||||
},
|
||||
"content": {
|
||||
"prefix": "con",
|
||||
"body": "content: '$0';"
|
||||
},
|
||||
"cursor": {
|
||||
"prefix": "cur",
|
||||
"body": "cursor: ${1|auto,default,alias,cell,copy,crosshair,context-menu,help,grab,grabbing,move,none,no-drop,not-allowed,pointer,progress,e-resize,all-scroll,text,wait,vertical-text,zoom-in,zoom-out|};",
|
||||
"description": "initial value: auto"
|
||||
},
|
||||
"cursor: pointer": {
|
||||
"prefix": "curp",
|
||||
"body": "cursor: pointer;"
|
||||
},
|
||||
"cursor: default": {
|
||||
"prefix": "curd",
|
||||
"body": "cursor: default;"
|
||||
},
|
||||
"display": {
|
||||
"prefix": "dis",
|
||||
"body": "display: ${1|none,block,inline,inline-block,flex,inline-flex,list-item,table,inline-table,table-caption,table-cell,table-row,table-row-group,table-column|};"
|
||||
},
|
||||
"display: block": {
|
||||
"prefix": "disb",
|
||||
"body": "display: block;"
|
||||
},
|
||||
"display: inline-block": {
|
||||
"prefix": "disi",
|
||||
"body": "display: inline-block;"
|
||||
},
|
||||
"display: none": {
|
||||
"prefix": "disn",
|
||||
"body": "display: none;"
|
||||
},
|
||||
"display: flex": {
|
||||
"prefix": "disf",
|
||||
"body": "display: flex;"
|
||||
},
|
||||
"flex": {
|
||||
"prefix": "flex",
|
||||
"body": "flex: ${1:1} ${2:1} ${3:auto};",
|
||||
"description": "flex: grow shrink basis"
|
||||
},
|
||||
"flex (alt)": {
|
||||
"prefix": "fle",
|
||||
"body": "flex: ${1:1} ${2:1} ${3:auto};"
|
||||
},
|
||||
"flex-direction": {
|
||||
"prefix": "fld",
|
||||
"body": "flex-direction: ${1|row,row-reverse,column,column-reverse|};",
|
||||
"description": "initial value: row"
|
||||
},
|
||||
"flex-direction: row": {
|
||||
"prefix": "fldr",
|
||||
"body": "flex-direction: row;"
|
||||
},
|
||||
"flex-direction: column": {
|
||||
"prefix": "fldc",
|
||||
"body": "flex-direction: column;"
|
||||
},
|
||||
"flex-flow": {
|
||||
"prefix": "flf",
|
||||
"body": "flex-flow: ${1|row,row-reverse,column,column-reverse|} ${2|wrap,wrap-reverse,nowrap|};"
|
||||
},
|
||||
"flex-wrap": {
|
||||
"prefix": "flw",
|
||||
"body": "flex-wrap: ${1|wrap,wrap-reverse,nowrap|};",
|
||||
"description": "initial value: nowrap"
|
||||
},
|
||||
"float": {
|
||||
"prefix": "fl",
|
||||
"body": "float: ${1|left,right,none|};"
|
||||
},
|
||||
"float: left": {
|
||||
"prefix": "fll",
|
||||
"body": "float: left;"
|
||||
},
|
||||
"float: right": {
|
||||
"prefix": "flr",
|
||||
"body": "float: right;"
|
||||
},
|
||||
"float: none": {
|
||||
"prefix": "fln",
|
||||
"body": "float: none;"
|
||||
},
|
||||
"font-family": {
|
||||
"prefix": "ff",
|
||||
"body": "font-family: ${0:arial};"
|
||||
},
|
||||
"font-size": {
|
||||
"prefix": "fz",
|
||||
"body": "font-size: ${0:12px};"
|
||||
},
|
||||
"font-style": {
|
||||
"prefix": "fst",
|
||||
"body": "font-style: ${1|italic,oblique,normal|};"
|
||||
},
|
||||
"font-style: italic": {
|
||||
"prefix": "fsti",
|
||||
"body": "font-style: italic;"
|
||||
},
|
||||
"font-style: normal": {
|
||||
"prefix": "fstn",
|
||||
"body": "font-style: normal;"
|
||||
},
|
||||
"font-style: oblique": {
|
||||
"prefix": "fsto",
|
||||
"body": "font-style: oblique;"
|
||||
},
|
||||
"font-weight": {
|
||||
"prefix": "fw",
|
||||
"body": "font-weight: ${0:bold};"
|
||||
},
|
||||
"font-weight: bold": {
|
||||
"prefix": "fwb",
|
||||
"body": "font-weight: bold;"
|
||||
},
|
||||
"font-weight: light": {
|
||||
"prefix": "fwl",
|
||||
"body": "font-weight: light;"
|
||||
},
|
||||
"font-weight: normal": {
|
||||
"prefix": "fwn",
|
||||
"body": "font-weight: normal;"
|
||||
},
|
||||
"font": {
|
||||
"prefix": "ft",
|
||||
"body": "font: ${0:12px/1.5};",
|
||||
"description": "font: [weight style variant stretch] size/line-height family"
|
||||
},
|
||||
"height": {
|
||||
"prefix": "hei",
|
||||
"body": "height: ${0:1px};"
|
||||
},
|
||||
"justify-content": {
|
||||
"prefix": "jc",
|
||||
"body": "justify-content: ${1|flex-start,flex-end,center,space-between,space-around|};",
|
||||
"description": "initial value: flex-start"
|
||||
},
|
||||
"justify-content: flex-start": {
|
||||
"prefix": "jcfs",
|
||||
"body": "justify-content: flex-start;"
|
||||
},
|
||||
"justify-content: flex-end": {
|
||||
"prefix": "jcfe",
|
||||
"body": "justify-content: flex-end;"
|
||||
},
|
||||
"justify-content: center": {
|
||||
"prefix": "jcc",
|
||||
"body": "justify-content: center;"
|
||||
},
|
||||
"justify-content: space-around": {
|
||||
"prefix": "jcsa",
|
||||
"body": "justify-content: space-around;"
|
||||
},
|
||||
"justify-content: space-between": {
|
||||
"prefix": "jcsb",
|
||||
"body": "justify-content: space-between;"
|
||||
},
|
||||
"list-style": {
|
||||
"prefix": "lis",
|
||||
"body": "list-style: ${1|disc,circle,square,decimal,lower-roman,upper-roman,lower-alpha,upper-alpha,none,armenian,cjk-ideographic,georgian,lower-greek,hebrew,hiragana,hiragana-iroha,katakana,katakana-iroha,lower-latin,upper-latin|} ${2|outside,inside|};",
|
||||
"description": "list-style: type position image"
|
||||
},
|
||||
"list-style-position": {
|
||||
"prefix": "lisp",
|
||||
"body": "${1|outside,inside|}",
|
||||
"description": "initial value: outside"
|
||||
},
|
||||
"list-style-type": {
|
||||
"prefix": "list",
|
||||
"body": "list-style-type: ${1|disc,circle,square,decimal,lower-roman,upper-roman,lower-alpha,upper-alpha,none,armenian,cjk-ideographic,georgian,lower-greek,hebrew,hiragana,hiragana-iroha,katakana,katakana-iroha,lower-latin,upper-latin|};",
|
||||
"description": "initial value: disc"
|
||||
},
|
||||
"list-style-type: circle": {
|
||||
"prefix": "listc",
|
||||
"body": "list-style-type: circle;"
|
||||
},
|
||||
"list-style-type: disc": {
|
||||
"prefix": "listd",
|
||||
"body": "list-style-type: disc;"
|
||||
},
|
||||
"list-style-type: none": {
|
||||
"prefix": "listn",
|
||||
"body": "list-style-type: none;"
|
||||
},
|
||||
"list-style-type: square": {
|
||||
"prefix": "lists",
|
||||
"body": "list-style-type: square;"
|
||||
},
|
||||
"list-style-type: lower-roman": {
|
||||
"prefix": "listlr",
|
||||
"body": "list-style-type: lower-roman;"
|
||||
},
|
||||
"list-style-type: upper-roman": {
|
||||
"prefix": "listur",
|
||||
"body": "list-style-type: upper-roman;"
|
||||
},
|
||||
"left": {
|
||||
"prefix": "lef",
|
||||
"body": "left: ${0:0};"
|
||||
},
|
||||
"line-height": {
|
||||
"prefix": "lh",
|
||||
"body": "line-height: ${0:1.5};"
|
||||
},
|
||||
"letter-spacing": {
|
||||
"prefix": "ls",
|
||||
"body": "letter-spacing: ${0:2px};"
|
||||
},
|
||||
"letter-spacing: normal": {
|
||||
"prefix": "lsn",
|
||||
"body": "letter-spacing: normal;"
|
||||
},
|
||||
"margin": {
|
||||
"prefix": "mar",
|
||||
"body": "margin: ${0:0};"
|
||||
},
|
||||
"margin-bottom": {
|
||||
"prefix": "marb",
|
||||
"body": "margin-bottom: ${0:0};"
|
||||
},
|
||||
"margin-left": {
|
||||
"prefix": "marl",
|
||||
"body": "margin-left: ${0:0};"
|
||||
},
|
||||
"margin-right": {
|
||||
"prefix": "marr",
|
||||
"body": "margin-right: ${0:0};"
|
||||
},
|
||||
"margin-top": {
|
||||
"prefix": "mart",
|
||||
"body": "margin-top: ${0:0};"
|
||||
},
|
||||
"margin: 0 auto": {
|
||||
"prefix": "mara",
|
||||
"body": "margin: 0 auto;"
|
||||
},
|
||||
"min-height": {
|
||||
"prefix": "mih",
|
||||
"body": "min-height: ${0:1px};"
|
||||
},
|
||||
"min-width": {
|
||||
"prefix": "miw",
|
||||
"body": "min-width: ${0:1px};"
|
||||
},
|
||||
"max-height": {
|
||||
"prefix": "mah",
|
||||
"body": "max-height: ${0:1px};"
|
||||
},
|
||||
"max-width": {
|
||||
"prefix": "maw",
|
||||
"body": "max-width: ${0:1px};"
|
||||
},
|
||||
"opacity": {
|
||||
"prefix": "opa",
|
||||
"body": "opacity: ${0:0};"
|
||||
},
|
||||
"overflow": {
|
||||
"prefix": "ov",
|
||||
"body": "overflow: ${1|visible,hidden,scroll,auto,clip|};"
|
||||
},
|
||||
"overflow: auto": {
|
||||
"prefix": "ova",
|
||||
"body": "overflow: auto;"
|
||||
},
|
||||
"overflow: hidden": {
|
||||
"prefix": "ovh",
|
||||
"body": "overflow: hidden;"
|
||||
},
|
||||
"overflow: scroll": {
|
||||
"prefix": "ovs",
|
||||
"body": "overflow: scroll;"
|
||||
},
|
||||
"overflow: visible": {
|
||||
"prefix": "ovv",
|
||||
"body": "overflow: visible;"
|
||||
},
|
||||
"padding": {
|
||||
"prefix": "pad",
|
||||
"body": "padding: ${0:0};"
|
||||
},
|
||||
"padding-bottom": {
|
||||
"prefix": "padb",
|
||||
"body": "padding-bottom: ${0:0};"
|
||||
},
|
||||
"padding-left": {
|
||||
"prefix": "padl",
|
||||
"body": "padding-left: ${0:0};"
|
||||
},
|
||||
"padding-right": {
|
||||
"prefix": "padr",
|
||||
"body": "padding-right: ${0:0};"
|
||||
},
|
||||
"padding-top": {
|
||||
"prefix": "padt",
|
||||
"body": "padding-top: ${0:0};"
|
||||
},
|
||||
"position": {
|
||||
"prefix": "pos",
|
||||
"body": "position: ${1|relative,absolute,fixed,sticky,static|};"
|
||||
},
|
||||
"position absolute": {
|
||||
"prefix": "posa",
|
||||
"body": "position: absolute;"
|
||||
},
|
||||
"position fixed": {
|
||||
"prefix": "posf",
|
||||
"body": "position: fixed;"
|
||||
},
|
||||
"position relative": {
|
||||
"prefix": "posr",
|
||||
"body": "position: relative;"
|
||||
},
|
||||
"position sticky": {
|
||||
"prefix": "poss",
|
||||
"body": "position: sticky;"
|
||||
},
|
||||
"right": {
|
||||
"prefix": "rig",
|
||||
"body": "right: ${0:0};"
|
||||
},
|
||||
"text-align": {
|
||||
"prefix": "ta",
|
||||
"body": "text-align: ${1|center,left,right,justify,start,end|};"
|
||||
},
|
||||
"text-align: center": {
|
||||
"prefix": "tac",
|
||||
"body": "text-align: center;"
|
||||
},
|
||||
"text-align: left": {
|
||||
"prefix": "tal",
|
||||
"body": "text-align: left;"
|
||||
},
|
||||
"text-align: right": {
|
||||
"prefix": "tar",
|
||||
"body": "text-align: right;"
|
||||
},
|
||||
"text-decoration": {
|
||||
"prefix": "td",
|
||||
"body": "text-decoration: ${1|none,underline,overline,line-through|};"
|
||||
},
|
||||
"text-decoration: underline": {
|
||||
"prefix": "tdu",
|
||||
"body": "text-decoration: underline;"
|
||||
},
|
||||
"text-decoration: none": {
|
||||
"prefix": "tdn",
|
||||
"body": "text-decoration: none;"
|
||||
},
|
||||
"text-decoration: line-through": {
|
||||
"prefix": "tdl",
|
||||
"body": "text-decoration: line-through;"
|
||||
},
|
||||
"text-indent": {
|
||||
"prefix": "ti",
|
||||
"body": "text-indent: ${0:2em};"
|
||||
},
|
||||
"text-shadow": {
|
||||
"prefix": "ts",
|
||||
"body": "text-shadow: ${1:1px} ${2:1px} ${3:1px} ${4:1px} ${0:rgba(0, 0, 0, .5)};",
|
||||
"description": "text-shadow: x-offset y-offset blur spread color"
|
||||
},
|
||||
"text-transform": {
|
||||
"prefix": "tt",
|
||||
"body": "text-transform: ${1|capitalize,uppercase,lowercase,full-width,none|};"
|
||||
},
|
||||
"top": {
|
||||
"prefix": "top",
|
||||
"body": "top: ${0:0};"
|
||||
},
|
||||
"vertical-align": {
|
||||
"prefix": "va",
|
||||
"body": "vertical-align: ${1|baseline,middle,top,bottom,sub,super,text-top,text-bottom|};"
|
||||
},
|
||||
"vertical-align: bottom": {
|
||||
"prefix": "vab",
|
||||
"body": "vertical-align: bottom;"
|
||||
},
|
||||
"vertical-align: middle": {
|
||||
"prefix": "vam",
|
||||
"body": "vertical-align: middle;"
|
||||
},
|
||||
"vertical-align: top": {
|
||||
"prefix": "vat",
|
||||
"body": "vertical-align: top;"
|
||||
},
|
||||
"visibility": {
|
||||
"prefix": "vis",
|
||||
"body": "visibility: ${1|visible,hidden,collapse|};"
|
||||
},
|
||||
"visibility: visible": {
|
||||
"prefix": "visv",
|
||||
"body": "visibility: visible;"
|
||||
},
|
||||
"visibility: hidden": {
|
||||
"prefix": "vish",
|
||||
"body": "visibility: hidden;"
|
||||
},
|
||||
"word-break": {
|
||||
"prefix": "wb",
|
||||
"body": "word-break: ${1|break-all,keep-all,break-word,normal|};"
|
||||
},
|
||||
"width": {
|
||||
"prefix": "wid",
|
||||
"body": "width: ${0:0};"
|
||||
},
|
||||
"width: auto": {
|
||||
"prefix": "wida",
|
||||
"body": "width: auto;"
|
||||
},
|
||||
"white-space": {
|
||||
"prefix": "ws",
|
||||
"body": "white-space: ${1|nowrap,pre,pre-wrap,pre-line,normal|};"
|
||||
},
|
||||
"white-space: nowrap": {
|
||||
"prefix": "wsn",
|
||||
"body": "white-space: nowrap;"
|
||||
},
|
||||
"white-space: pre": {
|
||||
"prefix": "wsp",
|
||||
"body": "white-space: pre;"
|
||||
},
|
||||
"word-wrap": {
|
||||
"prefix": "ww",
|
||||
"body": "word-wrap: ${1|break-word,break-spaces,normal|};"
|
||||
},
|
||||
"z-index": {
|
||||
"prefix": "zi",
|
||||
"body": "z-index: ${0:-1};"
|
||||
},
|
||||
"@import": {
|
||||
"prefix": "imp",
|
||||
"body": "@import '${0:filename}';"
|
||||
},
|
||||
"@mixin": {
|
||||
"prefix": "mix",
|
||||
"body": "@mixin ${1:name} {\n $0\n}"
|
||||
},
|
||||
"@include": {
|
||||
"prefix": "inc",
|
||||
"body": "@include ${0:mixin};"
|
||||
},
|
||||
"@keyframes": {
|
||||
"prefix": "key",
|
||||
"body": "@keyframes ${1:name} {\n $0\n}"
|
||||
},
|
||||
"@media": {
|
||||
"prefix": "med",
|
||||
"body": "@media screen and (${1:max-width: 300px}) {\n $0\n}"
|
||||
},
|
||||
"!important": {
|
||||
"prefix": "!",
|
||||
"body": "!important"
|
||||
},
|
||||
"!important (alt)": {
|
||||
"prefix": "i",
|
||||
"body": "!important"
|
||||
}
|
||||
}
|
860
my-snippets/html/snippets/html.json
Normal file
860
my-snippets/html/snippets/html.json
Normal file
|
@ -0,0 +1,860 @@
|
|||
{
|
||||
"doctype": {
|
||||
"prefix": "doctype",
|
||||
"body": [
|
||||
"<!DOCTYPE>",
|
||||
"$1"
|
||||
],
|
||||
"description": "HTML - Defines the document type",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"a": {
|
||||
"prefix": "a",
|
||||
"body": "<a href=\"$1\">$2</a>$3",
|
||||
"description": "HTML - Defines a hyperlink",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"abbr": {
|
||||
"prefix": "abbr",
|
||||
"body": "<abbr title=\"$1\">$2</abbr>$3",
|
||||
"description": "HTML - Defines an abbreviation",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"address": {
|
||||
"prefix": "address",
|
||||
"body": [
|
||||
"<address>",
|
||||
"$1",
|
||||
"</address>"
|
||||
],
|
||||
"description": "HTML - Defines an address element",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"area": {
|
||||
"prefix": "area",
|
||||
"body": "<area shape=\"$1\" coords=\"$2\" href=\"$3\" alt=\"$4\">$5",
|
||||
"description": "HTML - Defines an area inside an image map",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"article": {
|
||||
"prefix": "article",
|
||||
"body": [
|
||||
"<article>",
|
||||
"\t$1",
|
||||
"</article>"
|
||||
],
|
||||
"description": "HTML - Defines an article",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"aside": {
|
||||
"prefix": "aside",
|
||||
"body": [
|
||||
"<aside>",
|
||||
"\t$1",
|
||||
"</aside>$2"
|
||||
],
|
||||
"description": "HTML - Defines content aside from the page content",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"audio": {
|
||||
"prefix": "audio",
|
||||
"body": [
|
||||
"<audio controls>",
|
||||
"\t$1",
|
||||
"</audio>"
|
||||
],
|
||||
"description": "HTML - Defines sounds content",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"b": {
|
||||
"prefix": "b",
|
||||
"body": "<b>$1</b>$2",
|
||||
"description": "HTML - Defines bold text",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"base": {
|
||||
"prefix": "base",
|
||||
"body": "<base href=\"$1\" target=\"$2\">$3",
|
||||
"description": "HTML - Defines a base URL for all the links in a page",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"bdi": {
|
||||
"prefix": "bdi",
|
||||
"body": "<bdi>$1</bdi>$2",
|
||||
"description": "HTML - Used to isolate text that is of unknown directionality",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"bdo": {
|
||||
"prefix": "bdo",
|
||||
"body": [
|
||||
"<bdo dir=\"$1\">",
|
||||
"$2",
|
||||
"</bdo>"
|
||||
],
|
||||
"description": "HTML - Defines the direction of text display",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"big": {
|
||||
"prefix": "big",
|
||||
"body": "<big>$1</big>$2",
|
||||
"description": "HTML - Used to make text bigger",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"blockquote": {
|
||||
"prefix": "blockquote",
|
||||
"body": [
|
||||
"<blockquote cite=\"$2\">",
|
||||
"\t$1",
|
||||
"</blockquote>"
|
||||
],
|
||||
"description": "HTML - Defines a long quotation",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"body": {
|
||||
"prefix": "body",
|
||||
"body": [
|
||||
"<body>",
|
||||
"\t$1",
|
||||
"</body>"
|
||||
],
|
||||
"description": "HTML - Defines the body element",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"br": {
|
||||
"prefix": "br",
|
||||
"body": "<br>",
|
||||
"description": "HTML - Inserts a single line break",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"button": {
|
||||
"prefix": "button",
|
||||
"body": "<button type=\"$1\">$2</button>$3",
|
||||
"description": "HTML - Defines a push button",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"canvas": {
|
||||
"prefix": "canvas",
|
||||
"body": "<canvas id=\"$1\">$2</canvas>$3",
|
||||
"description": "HTML - Defines graphics",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"caption": {
|
||||
"prefix": "caption",
|
||||
"body": "<caption>$1</caption>$2",
|
||||
"description": "HTML - Defines a table caption",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"cite": {
|
||||
"prefix": "cite",
|
||||
"body": "<cite>$1</cite>$2",
|
||||
"description": "HTML - Defines a citation",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"code": {
|
||||
"prefix": "code",
|
||||
"body": "<code>$1</code>$2",
|
||||
"description": "HTML - Defines computer code text",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"col": {
|
||||
"prefix": "col",
|
||||
"body": "<col>$2",
|
||||
"description": "HTML - Defines attributes for table columns",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"colgroup": {
|
||||
"prefix": "colgroup",
|
||||
"body": [
|
||||
"<colgroup>",
|
||||
"\t$1",
|
||||
"</colgroup>"
|
||||
],
|
||||
"description": "HTML - Defines group of table columns",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"command": {
|
||||
"prefix": "command",
|
||||
"body": "<command>$1</command>$2",
|
||||
"description": "HTML - Defines a command button [not supported]",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"datalist": {
|
||||
"prefix": "datalist",
|
||||
"body": [
|
||||
"<datalist>",
|
||||
"\t$1",
|
||||
"</datalist>"
|
||||
],
|
||||
"description": "HTML - Defines a dropdown list",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"dd": {
|
||||
"prefix": "dd",
|
||||
"body": "<dd>$1</dd>$2",
|
||||
"description": "HTML - Defines a definition description",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"del": {
|
||||
"prefix": "del",
|
||||
"body": "<del>$1</del>$2",
|
||||
"description": "HTML - Defines deleted text",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"details": {
|
||||
"prefix": "details",
|
||||
"body": [
|
||||
"<details>",
|
||||
"\t$1",
|
||||
"</details>"
|
||||
],
|
||||
"description": "HTML - Defines details of an element",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"dialog": {
|
||||
"prefix": "dialog",
|
||||
"body": "<dialog>$1</dialog>$2",
|
||||
"description": "HTML - Defines a dialog (conversation)",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"dfn": {
|
||||
"prefix": "dfn",
|
||||
"body": "<dfn>$1</dfn>$2",
|
||||
"description": "HTML - Defines a definition term",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"div": {
|
||||
"prefix": "div",
|
||||
"body": [
|
||||
"<div>",
|
||||
"\t$1",
|
||||
"</div>"
|
||||
],
|
||||
"description": "HTML - Defines a section in a document",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"dl": {
|
||||
"prefix": "dl",
|
||||
"body": [
|
||||
"<dl>",
|
||||
"\t$1",
|
||||
"</dl>"
|
||||
],
|
||||
"description": "HTML - Defines a definition list",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"dt": {
|
||||
"prefix": "dt",
|
||||
"body": "<dt>$1</dt>$2",
|
||||
"description": "HTML - Defines a definition term",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"em": {
|
||||
"prefix": "em",
|
||||
"body": "<em>$1</em>$2",
|
||||
"description": "HTML - Defines emphasized text",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"embed": {
|
||||
"prefix": "embed",
|
||||
"body": "<embed src=\"$1\">$2",
|
||||
"description": "HTML - Defines external interactive content ot plugin",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"fieldset": {
|
||||
"prefix": "fieldset",
|
||||
"body": [
|
||||
"<fieldset>",
|
||||
"\t$1",
|
||||
"</fieldset>"
|
||||
],
|
||||
"description": "HTML - Defines a fieldset",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"figcaption": {
|
||||
"prefix": "figcaption",
|
||||
"body": "<figcaption>$1</figcaption>$2",
|
||||
"description": "HTML - Defines a caption for a figure",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"figure": {
|
||||
"prefix": "figure",
|
||||
"body": [
|
||||
"<figure>",
|
||||
"\t$1",
|
||||
"</figure>"
|
||||
],
|
||||
"description": "HTML - Defines a group of media content, and their caption",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"footer": {
|
||||
"prefix": "footer",
|
||||
"body": [
|
||||
"<footer>",
|
||||
"\t$1",
|
||||
"</footer>"
|
||||
],
|
||||
"description": "HTML - Defines a footer for a section or page",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"form": {
|
||||
"prefix": "form",
|
||||
"body": [
|
||||
"<form>",
|
||||
"\t$1",
|
||||
"</form>"
|
||||
],
|
||||
"description": "HTML - Defines a form",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"h1": {
|
||||
"prefix": "h1",
|
||||
"body": "<h1>$1</h1>$2",
|
||||
"description": "HTML - Defines header 1",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"h2": {
|
||||
"prefix": "h2",
|
||||
"body": "<h2>$1</h2>$2",
|
||||
"description": "HTML - Defines header 2",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"h3": {
|
||||
"prefix": "h3",
|
||||
"body": "<h3>$1</h3>$2",
|
||||
"description": "HTML - Defines header 3",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"h4": {
|
||||
"prefix": "h4",
|
||||
"body": "<h4>$1</h4>$2",
|
||||
"description": "HTML - Defines header 4",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"h5": {
|
||||
"prefix": "h5",
|
||||
"body": "<h5>$1</h5>$2",
|
||||
"description": "HTML - Defines header 5",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"h6": {
|
||||
"prefix": "h6",
|
||||
"body": "<h6>$1</h6>$2",
|
||||
"description": "HTML - Defines header 6",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"head": {
|
||||
"prefix": "head",
|
||||
"body": [
|
||||
"<head>",
|
||||
"\t$1",
|
||||
"</head>"
|
||||
],
|
||||
"description": "HTML - Defines information about the document",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"header": {
|
||||
"prefix": "header",
|
||||
"body": [
|
||||
"<header>",
|
||||
"\t$1",
|
||||
"</header>"
|
||||
],
|
||||
"description": "HTML - Defines a header for a section of page",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"hgroup": {
|
||||
"prefix": "hgroup",
|
||||
"body": [
|
||||
"<hgroup>",
|
||||
"\t$1",
|
||||
"</hgroup>"
|
||||
],
|
||||
"description": "HTML - Defines information about a section in a document",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"hr": {
|
||||
"prefix": "hr",
|
||||
"body": "<hr>",
|
||||
"description": "HTML - Defines a horizontal rule",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"html": {
|
||||
"prefix": "html",
|
||||
"body": [
|
||||
"<html>",
|
||||
"\t$1",
|
||||
"</html>"
|
||||
],
|
||||
"description": "HTML - Defines an html document",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"html5": {
|
||||
"prefix": "html5",
|
||||
"body": [
|
||||
"<!DOCTYPE html>",
|
||||
"<html lang=\"$1en\">",
|
||||
"\t<head>",
|
||||
"\t\t<title>$2</title>",
|
||||
"\t\t<meta charset=\"UTF-8\">",
|
||||
"\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">",
|
||||
"\t\t<link href=\"$3css/style.css\" rel=\"stylesheet\">",
|
||||
"\t</head>",
|
||||
"\t<body>",
|
||||
"\t$4",
|
||||
"\t</body>",
|
||||
"</html>"
|
||||
],
|
||||
"description": "HTML - Defines a template for a html5 document",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"i": {
|
||||
"prefix": "i",
|
||||
"body": "<i>$1</i>$2",
|
||||
"description": "HTML - Defines italic text",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"iframe": {
|
||||
"prefix": "iframe",
|
||||
"body": "<iframe src=\"$1\">$2</iframe>$3",
|
||||
"description": "HTML - Defines an inline sub window",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"img": {
|
||||
"prefix": "img",
|
||||
"body": "<img src=\"$1\" alt=\"$2\">$3",
|
||||
"description": "HTML - Defines an image",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"input": {
|
||||
"prefix": "input",
|
||||
"body": "<input type=\"$1\" name=\"$2\" value=\"$3\">$4",
|
||||
"description": "HTML - Defines an input field",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"ins": {
|
||||
"prefix": "ins",
|
||||
"body": "<ins>$1</ins>$2",
|
||||
"description": "HTML - Defines inserted text",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"keygen": {
|
||||
"prefix": "keygen",
|
||||
"body": "<keygen name=\"$1\">$2",
|
||||
"description": "HTML - Defines a generated key in a form",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"kbd": {
|
||||
"prefix": "kbd",
|
||||
"body": "<kbd>$1</kbd>$2",
|
||||
"description": "HTML - Defines keyboard text",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"label": {
|
||||
"prefix": "label",
|
||||
"body": "<label for=\"$1\">$2</label>$3",
|
||||
"description": "HTML - Defines an inline window",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"legend": {
|
||||
"prefix": "legend",
|
||||
"body": "<legend>$1</legend>$2",
|
||||
"description": "HTML - Defines a title in a fieldset",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"li": {
|
||||
"prefix": "li",
|
||||
"body": "<li>$1</li>$2",
|
||||
"description": "HTML - Defines a list item",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"link": {
|
||||
"prefix": "link",
|
||||
"body": "<link rel=\"$1\" type=\"$2\" href=\"$3\">$4",
|
||||
"description": "HTML - Defines a resource reference",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"main": {
|
||||
"prefix": "main",
|
||||
"body": [
|
||||
"<main>",
|
||||
"\t$1",
|
||||
"</main>"
|
||||
],
|
||||
"description": "HTML - Defines an image map",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"map": {
|
||||
"prefix": "map",
|
||||
"body": [
|
||||
"<map name=\"$1\">",
|
||||
"\t$2",
|
||||
"</map>"
|
||||
],
|
||||
"description": "HTML - Defines an image map",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"mark": {
|
||||
"prefix": "mark",
|
||||
"body": "<mark>$1</mark>$2",
|
||||
"description": "HTML - Defines marked text",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"menu": {
|
||||
"prefix": "menu",
|
||||
"body": [
|
||||
"<menu>",
|
||||
"\t$1",
|
||||
"</menu>"
|
||||
],
|
||||
"description": "HTML - Defines a menu list",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"menuitem": {
|
||||
"prefix": "menuitem",
|
||||
"body": "<menuitem>$1</menuitem>$2",
|
||||
"description": "HTML - Defines a menu item [firefox only]",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"meta": {
|
||||
"prefix": "meta",
|
||||
"body": "<meta name=\"$1\" content=\"$2\">$3",
|
||||
"description": "HTML - Defines meta information",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"meter": {
|
||||
"prefix": "meter",
|
||||
"body": "<meter value=\"$1\">$2</meter>$3",
|
||||
"description": "HTML - Defines measurement within a predefined range",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"nav": {
|
||||
"prefix": "nav",
|
||||
"body": [
|
||||
"<nav>",
|
||||
"\t$1",
|
||||
"</nav>"
|
||||
],
|
||||
"description": "HTML - Defines navigation links",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"noscript": {
|
||||
"prefix": "noscript",
|
||||
"body": [
|
||||
"<noscript>",
|
||||
"$1",
|
||||
"</noscript>"
|
||||
],
|
||||
"description": "HTML - Defines a noscript section",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"object": {
|
||||
"prefix": "object",
|
||||
"body": "<object width=\"$1\" height=\"$2\" data=\"$3\">$4</object>$5",
|
||||
"description": "HTML - Defines an embedded object",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"ol": {
|
||||
"prefix": "ol",
|
||||
"body": [
|
||||
"<ol>",
|
||||
"\t$1",
|
||||
"</ol>"
|
||||
],
|
||||
"description": "HTML - Defines an ordered list",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"optgroup": {
|
||||
"prefix": "optgroup",
|
||||
"body": [
|
||||
"<optgroup>",
|
||||
"\t$1",
|
||||
"</optgroup>"
|
||||
],
|
||||
"description": "HTML - Defines an option group",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"option": {
|
||||
"prefix": "option",
|
||||
"body": "<option value=\"$1\">$2</option>$3",
|
||||
"description": "HTML - Defines an option in a drop-down list",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"output": {
|
||||
"prefix": "output",
|
||||
"body": "<output name=\"$1\" for=\"$2\">$3</output>$4",
|
||||
"description": "HTML - Defines some types of output",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"p": {
|
||||
"prefix": "p",
|
||||
"body": "<p>$1</p>$2",
|
||||
"description": "HTML - Defines a paragraph",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"param": {
|
||||
"prefix": "param",
|
||||
"body": "<param name=\"$1\" value=\"$2\">$3",
|
||||
"description": "HTML - Defines a parameter for an object",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"pre": {
|
||||
"prefix": "pre",
|
||||
"body": [
|
||||
"<pre>$1</pre>"
|
||||
],
|
||||
"description": "HTML - Defines preformatted text",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"progress": {
|
||||
"prefix": "progress",
|
||||
"body": "<progress value=\"$1\" max=\"$2\">$3</progress>$4",
|
||||
"description": "HTML - Defines progress of a task of any kind",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"q": {
|
||||
"prefix": "q",
|
||||
"body": "<q>$1</q>$2",
|
||||
"description": "HTML - Defines a short quotation",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"rp": {
|
||||
"prefix": "rp",
|
||||
"body": "<rp>$1</rp>$2",
|
||||
"description": "HTML - Used in ruby annotations to define what to show browsers that do not support the ruby element",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"rt": {
|
||||
"prefix": "rt",
|
||||
"body": "<rt>$1</rt>$2",
|
||||
"description": "HTML - Defines explanation to ruby annotations",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"ruby": {
|
||||
"prefix": "ruby",
|
||||
"body": [
|
||||
"<ruby>",
|
||||
"$1",
|
||||
"</ruby>"
|
||||
],
|
||||
"description": "HTML - Defines ruby annotations",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"s": {
|
||||
"prefix": "s",
|
||||
"body": "<s>$1</s>$2",
|
||||
"description": "HTML - Used to define strikethrough text",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"samp": {
|
||||
"prefix": "samp",
|
||||
"body": "<samp>$1</samp>$2",
|
||||
"description": "HTML - Defines sample computer code",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"script": {
|
||||
"prefix": "script",
|
||||
"body": [
|
||||
"<script>",
|
||||
"\t$1",
|
||||
"</script>"
|
||||
],
|
||||
"description": "HTML - Defines a script",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"section": {
|
||||
"prefix": "section",
|
||||
"body": [
|
||||
"<section>",
|
||||
"\t$1",
|
||||
"</section>"
|
||||
],
|
||||
"description": "HTML - Defines a section",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"select": {
|
||||
"prefix": "select",
|
||||
"body": [
|
||||
"<select>",
|
||||
"\t$1",
|
||||
"</select>"
|
||||
],
|
||||
"description": "HTML - Defines a selectable list",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"small": {
|
||||
"prefix": "small",
|
||||
"body": "<small>$1</small>$2",
|
||||
"description": "HTML - Defines small text",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"source": {
|
||||
"prefix": "source",
|
||||
"body": "<source src=\"$1\" type=\"$2\">$3",
|
||||
"description": "HTML - Defines media resource",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"span": {
|
||||
"prefix": "span",
|
||||
"body": "<span>$1</span>$2",
|
||||
"description": "HTML - Defines a section in a document",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"strong": {
|
||||
"prefix": "strong",
|
||||
"body": "<strong>$1</strong>$2",
|
||||
"description": "HTML - Defines strong text",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"style": {
|
||||
"prefix": "style",
|
||||
"body": [
|
||||
"<style>",
|
||||
"$1",
|
||||
"</style>"
|
||||
],
|
||||
"description": "HTML - Defines a style definition",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"sub": {
|
||||
"prefix": "sub",
|
||||
"body": "<sub>$1</sub>$2",
|
||||
"description": "HTML - Defines sub-scripted text",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"sup": {
|
||||
"prefix": "sup",
|
||||
"body": "<sup>$1</sup>$2",
|
||||
"description": "HTML - Defines super-scripted text",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"summary": {
|
||||
"prefix": "summary",
|
||||
"body": "<summary>$1</summary>$2",
|
||||
"description": "HTML - Defines a visible heading for the detail element [limited support]",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"table": {
|
||||
"prefix": "table",
|
||||
"body": [
|
||||
"<table>",
|
||||
"\t$1",
|
||||
"</table>"
|
||||
],
|
||||
"description": "HTML - Defines a table",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"tbody": {
|
||||
"prefix": "tbody",
|
||||
"body": [
|
||||
"<tbody>",
|
||||
"\t$1",
|
||||
"</tbody>"
|
||||
],
|
||||
"description": "HTML - Defines a table body",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"td": {
|
||||
"prefix": "td",
|
||||
"body": "<td>$1</td>$2",
|
||||
"description": "HTML - Defines a table cell",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"textarea": {
|
||||
"prefix": "textarea",
|
||||
"body": "<textarea rows=\"$1\" cols=\"$2\">$3</textarea>$4",
|
||||
"description": "HTML - Defines a text area",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"tfoot": {
|
||||
"prefix": "tfoot",
|
||||
"body": [
|
||||
"<tfoot>",
|
||||
"\t$1",
|
||||
"</tfoot>"
|
||||
],
|
||||
"description": "HTML - Defines a table footer",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"thead": {
|
||||
"prefix": "thead",
|
||||
"body": [
|
||||
"<thead>",
|
||||
"$1",
|
||||
"</thead>"
|
||||
],
|
||||
"description": "HTML - Defines a table head",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"th": {
|
||||
"prefix": "th",
|
||||
"body": "<th>$1</th>$2",
|
||||
"description": "HTML - Defines a table header",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"time": {
|
||||
"prefix": "time",
|
||||
"body": "<time datetime=\"$1\">$2</time>$3",
|
||||
"description": "HTML - Defines a date/time",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"title": {
|
||||
"prefix": "title",
|
||||
"body": "<title>$1</title>$2",
|
||||
"description": "HTML - Defines the document title",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"tr": {
|
||||
"prefix": "tr",
|
||||
"body": "<tr>$1</tr>$2",
|
||||
"description": "HTML - Defines a table row",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"track": {
|
||||
"prefix": "track",
|
||||
"body": "<track src=\"$1\" kind=\"$2\" srclang=\"$3\" label=\"$4\">$5",
|
||||
"description": "HTML - Defines a table row",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"u": {
|
||||
"prefix": "u",
|
||||
"body": "<u>$1</u>$2",
|
||||
"description": "HTML - Used to define underlined text",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"ul": {
|
||||
"prefix": "ul",
|
||||
"body": [
|
||||
"<ul>",
|
||||
"\t$1",
|
||||
"</ul>"
|
||||
],
|
||||
"description": "HTML - Defines an unordered list",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"var": {
|
||||
"prefix": "var",
|
||||
"body": "<var>$1</var>$2",
|
||||
"description": "HTML - Defines a variable",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"video": {
|
||||
"prefix": "video",
|
||||
"body": [
|
||||
"<video width=\"$1\" height=\"$2\" controls>",
|
||||
"\t$3",
|
||||
"</video>"
|
||||
],
|
||||
"description": "HTML - Defines a video",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"consoleLog": {
|
||||
"prefix": "console",
|
||||
"body": "console.log(${1:object});",
|
||||
"description": "Displays a message in the console"
|
||||
},
|
||||
"alert": {
|
||||
"prefix": "alert",
|
||||
"body": "alert(${1:object});",
|
||||
"description": "Displays a message in the Popup Alert"
|
||||
}
|
||||
}
|
88
my-snippets/html/snippets/javascript.json
Normal file
88
my-snippets/html/snippets/javascript.json
Normal file
|
@ -0,0 +1,88 @@
|
|||
{
|
||||
"consoledotLog": {
|
||||
"prefix": "console",
|
||||
"body": "console.log(${1:object});",
|
||||
"description": "Displays a message in the console"
|
||||
},
|
||||
"alert": {
|
||||
"prefix": "alert",
|
||||
"body": "alert(${1:object});",
|
||||
"description": "Displays a message in the Popup Alert"
|
||||
},
|
||||
"author": {
|
||||
"prefix": "@author",
|
||||
"body": [
|
||||
"<!-- ",
|
||||
"Author = Pojok Code",
|
||||
"email = pojokcodeid@gmail.com",
|
||||
"Github = https://github.com/pojokcodeid",
|
||||
"Youtube = https://youtube.com/pojokcode",
|
||||
"Date = $CURRENT_YEAR-$CURRENT_MONTH-${CURRENT_DATE}",
|
||||
"File = $TM_FILENAME",
|
||||
"note = Penyalahgunaan kode ini bukan tanggung jawab pojok code",
|
||||
"-->"
|
||||
],
|
||||
"description": "@author = Pojok Code"
|
||||
},
|
||||
"html5": {
|
||||
"prefix": "html5-All",
|
||||
"body": [
|
||||
"<!DOCTYPE html>",
|
||||
"<!-- ",
|
||||
"Author = Pojok Code",
|
||||
"Date = $CURRENT_YEAR-$CURRENT_MONTH-${CURRENT_DATE}",
|
||||
"File = $TM_FILENAME",
|
||||
"-->",
|
||||
"<html lang=\"$1en\">",
|
||||
"\t<head>",
|
||||
"\t\t<title>$2</title>",
|
||||
"\t\t<link rel=\"shortcut icon\" href=\"#\"/>",
|
||||
"\t\t<meta charset=\"UTF-8\">",
|
||||
"\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">",
|
||||
"\t\t<link href=\"$3css/style.css\" rel=\"stylesheet\">",
|
||||
"\t\t<script src=\"$4js/script.js\"></script>",
|
||||
"\t</head>",
|
||||
"\t<body>",
|
||||
"\t$0",
|
||||
"\t</body>",
|
||||
"</html>"
|
||||
],
|
||||
"description": "HTML-All - Defines a template for a html5 document Full",
|
||||
"scope": "text.html"
|
||||
},
|
||||
"document.getElementById": {
|
||||
"prefix": "document.getElementById",
|
||||
"body": "document.getElementById(${1:object});",
|
||||
"description": "document.getElementById"
|
||||
},
|
||||
"document.getElementsByName": {
|
||||
"prefix": "document.getElementsByName",
|
||||
"body": "document.getElementsByName(${1:object});",
|
||||
"description": "document.getElementsByName"
|
||||
},
|
||||
"document.getElementsByTagName": {
|
||||
"prefix": "document.getElementsByTagName",
|
||||
"body": "document.getElementsByTagName(${1:object});",
|
||||
"description": "document.getElementsByTagName"
|
||||
},
|
||||
"document.getElementsByClassName": {
|
||||
"prefix": "document.getElementsByClassName",
|
||||
"body": "document.getElementsByClassName(${1:object});",
|
||||
"description": "document.getElementsByClassName"
|
||||
},
|
||||
"document.getElementsByTagNameNS": {
|
||||
"prefix": "document.getElementsByTagNameNS",
|
||||
"body": "document.getElementsByTagNameNS(${1:object});",
|
||||
"description": "document.getElementsByTagNameNS"
|
||||
},
|
||||
"document.write": {
|
||||
"prefix": "document.write",
|
||||
"body": "document.write(${1:object});",
|
||||
"description": "document.write"
|
||||
},
|
||||
"document.writeln": {
|
||||
"prefix": "document.writeln",
|
||||
"body": "document.writeln(${1:object});",
|
||||
"description": "document.writeln"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue