├── .DS_Store ├── images ├── icon.png └── preview.gif ├── .vscode └── launch.json ├── package.json ├── vsc-extension-quickstart.md ├── LICENSE ├── README.md └── snippets └── snippets.json /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abdelaziz18003/html-snippets/master/.DS_Store -------------------------------------------------------------------------------- /images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abdelaziz18003/html-snippets/master/images/icon.png -------------------------------------------------------------------------------- /images/preview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abdelaziz18003/html-snippets/master/images/preview.gif -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | // A launch configuration that compiles the extension and then opens it inside a new window 2 | { 3 | "version": "0.1.0", 4 | "configurations": [ 5 | { 6 | "name": "Launch Extension", 7 | "type": "extensionHost", 8 | "request": "launch", 9 | "runtimeExecutable": "${execPath}", 10 | "args": ["--extensionDevelopmentPath=${workspaceRoot}" ] 11 | } 12 | ] 13 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "html-snippets", 3 | "displayName": "HTML Snippets", 4 | "description": "Full HTML tags including HTML5 Snippets", 5 | "version": "0.1.0", 6 | "publisher": "abusaidm", 7 | "icon": "images/icon.png", 8 | "engines": { 9 | "vscode": "^1.9.1" 10 | }, 11 | "galleryBanner": { 12 | "color": "#1E81C1", 13 | "theme": "light" 14 | }, 15 | "categories": [ 16 | "Snippets" 17 | ], 18 | "contributes": { 19 | "snippets": [ 20 | { 21 | "language": "html", 22 | "path": "./snippets/snippets.json" 23 | } 24 | ] 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vsc-extension-quickstart.md: -------------------------------------------------------------------------------- 1 | # Welcome to your VS Code Extension 2 | 3 | ## What's in the folder 4 | * This folder contains all of the files necessary for your extension 5 | * `package.json` - this is the manifest file that defines the location of the snippet file 6 | and specifies the language of the snippets 7 | * `snippets/snippets.json` - the file containing all snippets 8 | 9 | ## Get up and running straight away 10 | * press `F5` to open a new window with your extension loaded 11 | * create a new file with a file name suffix matching your language 12 | * verify that your snippets are proposed on intellisense 13 | 14 | ## Make changes 15 | * you can relaunch the extension from the debug toolbar after making changes to the files listed above 16 | * you can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with your extension to load your changes 17 | 18 | ## Install your extension 19 | * To start using your extension with Visual Studio Code copy it into the /.vscode/extensions folder and restart Code. 20 | * To share your extension with the world, read on https://code.visualstudio.com/docs about publishing an extension. -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Mohamed Abusaid 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # README 2 | ## Visual Studio Code HTML Snippets 3 | 4 | This extension adds rich language support for the HTML Markup to VS Code, including: 5 | 6 | - Full HTML5 Tags 7 | - Colorization 8 | - Snippets 9 | - [partially implemented] Quick Info 10 | - description mentions if tag deprecated 11 | 12 | ### Update 4 13 | - Removed all languages, only HTML Remains. 14 | - Added FAQ in end of page. 15 | 16 | ### Update 3 17 | - added php, js, and jsreact as languages where the snippets work by default. 18 | 19 | 20 | ### Update 2 21 | - fixed a bug with line cursor on vscode 1.5.1 22 | 23 | ### Update 1 24 | - removed deprecated tags [acronym, applet, basefont, center, dir, font, frame, frameset, noframes, strike, tt] 25 | - fixed LI tag issue, you couldn't add new line in the tags 26 | 27 | ### Todo 28 | - [on-going]Improve syntax layout. 29 | - [on-going]Add support for Tab to end of line. 30 | - [on-going]Populate Tags with properties. 31 | 32 | # Using 33 | Type part of a snippet, press enter, and the snippet unfolds. 34 | 35 | Snippets named as the tag without braces 36 | 37 | div -->
38 | doc --> 39 | a --> 40 | 41 | ![alt text](http://i.imgur.com/VOhBvHb.gif "Snippets Preview") 42 | 43 | # Installation 44 | 45 | 1. Install Visual Studio Code 0.10.1 or higher 46 | 2. Launch Code 47 | 3. From the command palette `Ctrl-Shift-P` (Windows, Linux) or `Cmd-Shift-P` (OSX) 48 | 4. Select Install Extension 49 | 5. Type `HTML-Snippets` 50 | 6. Choose the extension 51 | 7. Reload Visual Studio Code 52 | 53 | # FAQ 54 | ## How to enable the snippets on a file other than html? 55 | Add the following code to the project settings.json or global settings.json : 56 | ``` 57 | "files.associations": { 58 | // extension name : html 59 | "*.ejs": "html", 60 | "*.js": "html" 61 | } 62 | ``` 63 | the above code will allow html snippet to work on .ejs and .js files, amend to fit your needs. 64 | 65 | ## How can I report an issue? 66 | The easiest way is to start a git issue, I will attempt to answer ASAP else I hope someone else will answer. 67 | 68 | # Contact 69 | If you find any issue or have a suggestion please tweet me on @m_abusaid 70 | 71 | >**I am unable to respond to comments on the store page, please use appropriate channels github/twitter to reach me. Thank you** 72 | 73 | ## License 74 | MIT License, refer to license file. 75 | 76 | # Source 77 | [Github](https://github.com/abusaidm/html-snippets) 78 | 79 | ** Enjoy!** -------------------------------------------------------------------------------- /snippets/snippets.json: -------------------------------------------------------------------------------- 1 | { 2 | "doctype": { 3 | "prefix": "doctype", 4 | "body": [ 5 | "", 6 | "$1" 7 | ], 8 | "description": "HTML - Defines the document type", 9 | "scope": "text.html" 10 | }, 11 | "a": { 12 | "prefix": "a", 13 | "body": "$2$3", 14 | "description": "HTML - Defines a hyperlink", 15 | "scope": "text.html" 16 | }, 17 | "abbr": { 18 | "prefix": "abbr", 19 | "body": "$2$3", 20 | "description": "HTML - Defines an abbreviation", 21 | "scope": "text.html" 22 | }, 23 | "address": { 24 | "prefix": "address", 25 | "body": [ 26 | "
", 27 | "$1", 28 | "
" 29 | ], 30 | "description": "HTML - Defines an address element", 31 | "scope": "text.html" 32 | }, 33 | "area": { 34 | "prefix": "area", 35 | "body": "\"$4\"$5", 36 | "description": "HTML - Defines an area inside an image map", 37 | "scope": "text.html" 38 | }, 39 | "article": { 40 | "prefix": "article", 41 | "body": [ 42 | "
", 43 | "\t$1", 44 | "
" 45 | ], 46 | "description": "HTML - Defines an article", 47 | "scope": "text.html" 48 | }, 49 | "aside": { 50 | "prefix": "aside", 51 | "body": [ 52 | "$2" 55 | ], 56 | "description": "HTML - Defines content aside from the page content", 57 | "scope": "text.html" 58 | }, 59 | "audio": { 60 | "prefix": "audio", 61 | "body": [ 62 | "" 65 | ], 66 | "description": "HTML - Defines sounds content", 67 | "scope": "text.html" 68 | }, 69 | "b": { 70 | "prefix": "b", 71 | "body": "$1$2", 72 | "description": "HTML - Defines bold text", 73 | "scope": "text.html" 74 | }, 75 | "base": { 76 | "prefix": "base", 77 | "body": "$3", 78 | "description": "HTML - Defines a base URL for all the links in a page", 79 | "scope": "text.html" 80 | }, 81 | "bdi": { 82 | "prefix": "bdi", 83 | "body": "$1$2", 84 | "description": "HTML - Used to isolate text that is of unknown directionality", 85 | "scope": "text.html" 86 | }, 87 | "bdo": { 88 | "prefix": "bdo", 89 | "body": [ 90 | "", 91 | "$2", 92 | "" 93 | ], 94 | "description": "HTML - Defines the direction of text display", 95 | "scope": "text.html" 96 | }, 97 | "big": { 98 | "prefix": "big", 99 | "body": "$1$2", 100 | "description": "HTML - Used to make text bigger", 101 | "scope": "text.html" 102 | }, 103 | "blockquote": { 104 | "prefix": "blockquote", 105 | "body": [ 106 | "
", 107 | "\t$1", 108 | "
" 109 | ], 110 | "description": "HTML - Defines a long quotation", 111 | "scope": "text.html" 112 | }, 113 | "body": { 114 | "prefix": "body", 115 | "body": [ 116 | "", 117 | "\t$1", 118 | "" 119 | ], 120 | "description": "HTML - Defines the body element", 121 | "scope": "text.html" 122 | }, 123 | "br": { 124 | "prefix": "br", 125 | "body": "
", 126 | "description": "HTML - Inserts a single line break", 127 | "scope": "text.html" 128 | }, 129 | "button": { 130 | "prefix": "button", 131 | "body": "$3", 132 | "description": "HTML - Defines a push button", 133 | "scope": "text.html" 134 | }, 135 | "canvas": { 136 | "prefix": "canvas", 137 | "body": "$2$3", 138 | "description": "HTML - Defines graphics", 139 | "scope": "text.html" 140 | }, 141 | "caption": { 142 | "prefix": "caption", 143 | "body": "$1$2", 144 | "description": "HTML - Defines a table caption", 145 | "scope": "text.html" 146 | }, 147 | "cite": { 148 | "prefix": "cite", 149 | "body": "$1$2", 150 | "description": "HTML - Defines a citation", 151 | "scope": "text.html" 152 | }, 153 | "code": { 154 | "prefix": "code", 155 | "body": "$1$2", 156 | "description": "HTML - Defines computer code text", 157 | "scope": "text.html" 158 | }, 159 | "col": { 160 | "prefix": "col", 161 | "body": "$2", 162 | "description": "HTML - Defines attributes for table columns", 163 | "scope": "text.html" 164 | }, 165 | "colgroup": { 166 | "prefix": "colgroup", 167 | "body": [ 168 | "", 169 | "\t$1", 170 | "" 171 | ], 172 | "description": "HTML - Defines group of table columns", 173 | "scope": "text.html" 174 | }, 175 | "command": { 176 | "prefix": "command", 177 | "body": "$1$2", 178 | "description": "HTML - Defines a command button [not supported]", 179 | "scope": "text.html" 180 | }, 181 | "datalist": { 182 | "prefix": "datalist", 183 | "body": [ 184 | "", 185 | "\t$1", 186 | "" 187 | ], 188 | "description": "HTML - Defines a dropdown list", 189 | "scope": "text.html" 190 | }, 191 | "dd": { 192 | "prefix": "dd", 193 | "body": "
$1
$2", 194 | "description": "HTML - Defines a definition description", 195 | "scope": "text.html" 196 | }, 197 | "del": { 198 | "prefix": "del", 199 | "body": "$1$2", 200 | "description": "HTML - Defines deleted text", 201 | "scope": "text.html" 202 | }, 203 | "details": { 204 | "prefix": "details", 205 | "body": [ 206 | "
", 207 | "\t$1", 208 | "
" 209 | ], 210 | "description": "HTML - Defines details of an element", 211 | "scope": "text.html" 212 | }, 213 | "dialog": { 214 | "prefix": "dialog", 215 | "body": "$1$2", 216 | "description": "HTML - Defines a dialog (conversation)", 217 | "scope": "text.html" 218 | }, 219 | "dfn": { 220 | "prefix": "dfn", 221 | "body": "$1$2", 222 | "description": "HTML - Defines a definition term", 223 | "scope": "text.html" 224 | }, 225 | "div": { 226 | "prefix": "div", 227 | "body": [ 228 | "
", 229 | "\t$1", 230 | "
" 231 | ], 232 | "description": "HTML - Defines a section in a document", 233 | "scope": "text.html" 234 | }, 235 | "dl": { 236 | "prefix": "dl", 237 | "body": [ 238 | "
", 239 | "\t$1", 240 | "
" 241 | ], 242 | "description": "HTML - Defines a definition list", 243 | "scope": "text.html" 244 | }, 245 | "dt": { 246 | "prefix": "dt", 247 | "body": "
$1
$2", 248 | "description": "HTML - Defines a definition term", 249 | "scope": "text.html" 250 | }, 251 | "em": { 252 | "prefix": "em", 253 | "body": "$1$2", 254 | "description": "HTML - Defines emphasized text", 255 | "scope": "text.html" 256 | }, 257 | "embed": { 258 | "prefix": "embed", 259 | "body": "$2", 260 | "description": "HTML - Defines external interactive content ot plugin", 261 | "scope": "text.html" 262 | }, 263 | "fieldset": { 264 | "prefix": "fieldset", 265 | "body": [ 266 | "
", 267 | "\t$1", 268 | "
" 269 | ], 270 | "description": "HTML - Defines a fieldset", 271 | "scope": "text.html" 272 | }, 273 | "figcaption": { 274 | "prefix": "figcaption", 275 | "body": "
$1
$2", 276 | "description": "HTML - Defines a caption for a figure", 277 | "scope": "text.html" 278 | }, 279 | "figure": { 280 | "prefix": "figure", 281 | "body": [ 282 | "
", 283 | "\t$1", 284 | "
" 285 | ], 286 | "description": "HTML - Defines a group of media content, and their caption", 287 | "scope": "text.html" 288 | }, 289 | "footer": { 290 | "prefix": "footer", 291 | "body": [ 292 | "" 295 | ], 296 | "description": "HTML - Defines a footer for a section or page", 297 | "scope": "text.html" 298 | }, 299 | "form": { 300 | "prefix": "form", 301 | "body": [ 302 | "
", 303 | "\t$1", 304 | "
" 305 | ], 306 | "description": "HTML - Defines a form", 307 | "scope": "text.html" 308 | }, 309 | "h1": { 310 | "prefix": "h1", 311 | "body": "

$1

$2", 312 | "description": "HTML - Defines header 1", 313 | "scope": "text.html" 314 | }, 315 | "h2": { 316 | "prefix": "h2", 317 | "body": "

$1

$2", 318 | "description": "HTML - Defines header 2", 319 | "scope": "text.html" 320 | }, 321 | "h3": { 322 | "prefix": "h3", 323 | "body": "

$1

$2", 324 | "description": "HTML - Defines header 3", 325 | "scope": "text.html" 326 | }, 327 | "h4": { 328 | "prefix": "h4", 329 | "body": "

$1

$2", 330 | "description": "HTML - Defines header 4", 331 | "scope": "text.html" 332 | }, 333 | "h5": { 334 | "prefix": "h5", 335 | "body": "
$1
$2", 336 | "description": "HTML - Defines header 5", 337 | "scope": "text.html" 338 | }, 339 | "h6": { 340 | "prefix": "h6", 341 | "body": "
$1
$2", 342 | "description": "HTML - Defines header 6", 343 | "scope": "text.html" 344 | }, 345 | "head": { 346 | "prefix": "head", 347 | "body": [ 348 | "", 349 | "\t$1", 350 | "" 351 | ], 352 | "description": "HTML - Defines information about the document", 353 | "scope": "text.html" 354 | }, 355 | "header": { 356 | "prefix": "header", 357 | "body": [ 358 | "
", 359 | "\t$1", 360 | "
" 361 | ], 362 | "description": "HTML - Defines a header for a section of page", 363 | "scope": "text.html" 364 | }, 365 | "hgroup": { 366 | "prefix": "hgroup", 367 | "body": [ 368 | "
", 369 | "\t$1", 370 | "
" 371 | ], 372 | "description": "HTML - Defines information about a section in a document", 373 | "scope": "text.html" 374 | }, 375 | "hr": { 376 | "prefix": "hr", 377 | "body": "
", 378 | "description": "HTML - Defines a horizontal rule", 379 | "scope": "text.html" 380 | }, 381 | "html": { 382 | "prefix": "html", 383 | "body": [ 384 | "", 385 | "\t$1", 386 | "" 387 | ], 388 | "description": "HTML - Defines an html document", 389 | "scope": "text.html" 390 | }, 391 | "html5": { 392 | "prefix": "html5", 393 | "body": [ 394 | "", 395 | "", 396 | "\t", 397 | "\t\t$2", 398 | "\t\t", 399 | "\t\t", 400 | "\t\t", 401 | "\t", 402 | "\t", 403 | "\t$4", 404 | "\t", 405 | "" 406 | ], 407 | "description": "HTML - Defines a template for a html5 document", 408 | "scope": "text.html" 409 | }, 410 | "i": { 411 | "prefix": "i", 412 | "body": "$1$2", 413 | "description": "HTML - Defines italic text", 414 | "scope": "text.html" 415 | }, 416 | "iframe": { 417 | "prefix": "iframe", 418 | "body": "$3", 419 | "description": "HTML - Defines an inline sub window", 420 | "scope": "text.html" 421 | }, 422 | "img": { 423 | "prefix": "img", 424 | "body": "\"$2\"$3", 425 | "description": "HTML - Defines an image", 426 | "scope": "text.html" 427 | }, 428 | "input": { 429 | "prefix": "input", 430 | "body": "$4", 431 | "description": "HTML - Defines an input field", 432 | "scope": "text.html" 433 | }, 434 | "ins": { 435 | "prefix": "ins", 436 | "body": "$1$2", 437 | "description": "HTML - Defines inserted text", 438 | "scope": "text.html" 439 | }, 440 | "keygen": { 441 | "prefix": "keygen", 442 | "body": "$2", 443 | "description": "HTML - Defines a generated key in a form", 444 | "scope": "text.html" 445 | }, 446 | "kbd": { 447 | "prefix": "kbd", 448 | "body": "$1$2", 449 | "description": "HTML - Defines keyboard text", 450 | "scope": "text.html" 451 | }, 452 | "label": { 453 | "prefix": "label", 454 | "body": "$3", 455 | "description": "HTML - Defines an inline window", 456 | "scope": "text.html" 457 | }, 458 | "legend": { 459 | "prefix": "legend", 460 | "body": "$1$2", 461 | "description": "HTML - Defines a title in a fieldset", 462 | "scope": "text.html" 463 | }, 464 | "li": { 465 | "prefix": "li", 466 | "body": "
  • $1
  • $2", 467 | "description": "HTML - Defines a list item", 468 | "scope": "text.html" 469 | }, 470 | "link": { 471 | "prefix": "link", 472 | "body": "$4", 473 | "description": "HTML - Defines a resource reference", 474 | "scope": "text.html" 475 | }, 476 | "main": { 477 | "prefix": "main", 478 | "body": [ 479 | "
    ", 480 | "\t$1", 481 | "
    " 482 | ], 483 | "description": "HTML - Defines an image map", 484 | "scope": "text.html" 485 | }, 486 | "map": { 487 | "prefix": "map", 488 | "body": [ 489 | "", 490 | "\t$2", 491 | "" 492 | ], 493 | "description": "HTML - Defines an image map", 494 | "scope": "text.html" 495 | }, 496 | "mark": { 497 | "prefix": "mark", 498 | "body": "$1$2", 499 | "description": "HTML - Defines marked text", 500 | "scope": "text.html" 501 | }, 502 | "menu": { 503 | "prefix": "menu", 504 | "body": [ 505 | "", 506 | "\t$1", 507 | "" 508 | ], 509 | "description": "HTML - Defines a menu list", 510 | "scope": "text.html" 511 | }, 512 | "menuitem": { 513 | "prefix": "menuitem", 514 | "body": "$1$2", 515 | "description": "HTML - Defines a menu item [firefox only]", 516 | "scope": "text.html" 517 | }, 518 | "meta": { 519 | "prefix": "meta", 520 | "body": "$3", 521 | "description": "HTML - Defines meta information", 522 | "scope": "text.html" 523 | }, 524 | "meter": { 525 | "prefix": "meter", 526 | "body": "$2$3", 527 | "description": "HTML - Defines measurement within a predefined range", 528 | "scope": "text.html" 529 | }, 530 | "nav": { 531 | "prefix": "nav", 532 | "body": [ 533 | "" 536 | ], 537 | "description": "HTML - Defines navigation links", 538 | "scope": "text.html" 539 | }, 540 | "noscript": { 541 | "prefix": "noscript", 542 | "body": [ 543 | "" 546 | ], 547 | "description": "HTML - Defines a noscript section", 548 | "scope": "text.html" 549 | }, 550 | "object": { 551 | "prefix": "object", 552 | "body": "$4$5", 553 | "description": "HTML - Defines an embedded object", 554 | "scope": "text.html" 555 | }, 556 | "ol": { 557 | "prefix": "ol", 558 | "body": [ 559 | "
      ", 560 | "\t$1", 561 | "
    " 562 | ], 563 | "description": "HTML - Defines an ordered list", 564 | "scope": "text.html" 565 | }, 566 | "optgroup": { 567 | "prefix": "optgroup", 568 | "body": [ 569 | "", 570 | "\t$1", 571 | "" 572 | ], 573 | "description": "HTML - Defines an option group", 574 | "scope": "text.html" 575 | }, 576 | "option": { 577 | "prefix": "option", 578 | "body": "$3", 579 | "description": "HTML - Defines an option in a drop-down list", 580 | "scope": "text.html" 581 | }, 582 | "output": { 583 | "prefix": "output", 584 | "body": "$3$4", 585 | "description": "HTML - Defines some types of output", 586 | "scope": "text.html" 587 | }, 588 | "p": { 589 | "prefix": "p", 590 | "body": "

    $1

    $2", 591 | "description": "HTML - Defines a paragraph", 592 | "scope": "text.html" 593 | }, 594 | "param": { 595 | "prefix": "param", 596 | "body": "$3", 597 | "description": "HTML - Defines a parameter for an object", 598 | "scope": "text.html" 599 | }, 600 | "pre": { 601 | "prefix": "pre", 602 | "body": [ 603 | "
    ",
    604 |             "$1",
    605 |             "
    " 606 | ], 607 | "description": "HTML - Defines preformatted text", 608 | "scope": "text.html" 609 | }, 610 | "progress": { 611 | "prefix": "progress", 612 | "body": "$3$4", 613 | "description": "HTML - Defines progress of a task of any kind", 614 | "scope": "text.html" 615 | }, 616 | "pt": { 617 | "prefix": "pt", 618 | "body": "", 619 | "description": "HTML - Insert a php tag", 620 | "scope": "text.html" 621 | }, 622 | "q": { 623 | "prefix": "q", 624 | "body": "$1$2", 625 | "description": "HTML - Defines a short quotation", 626 | "scope": "text.html" 627 | }, 628 | "rp": { 629 | "prefix": "rp", 630 | "body": "$1$2", 631 | "description": "HTML - Used in ruby annotations to define what to show browsers that do not support the ruby element", 632 | "scope": "text.html" 633 | }, 634 | "rt": { 635 | "prefix": "rt", 636 | "body": "$1$2", 637 | "description": "HTML - Defines explanation to ruby annotations", 638 | "scope": "text.html" 639 | }, 640 | "ruby": { 641 | "prefix": "ruby", 642 | "body": [ 643 | "", 644 | "$1", 645 | "" 646 | ], 647 | "description": "HTML - Defines ruby annotations", 648 | "scope": "text.html" 649 | }, 650 | "s": { 651 | "prefix": "s", 652 | "body": "$1$2", 653 | "description": "HTML - Used to define strikethrough text", 654 | "scope": "text.html" 655 | }, 656 | "samp": { 657 | "prefix": "samp", 658 | "body": "$1$2", 659 | "description": "HTML - Defines sample computer code", 660 | "scope": "text.html" 661 | }, 662 | "script": { 663 | "prefix": "script", 664 | "body": [ 665 | "" 668 | ], 669 | "description": "HTML - Defines a script", 670 | "scope": "text.html" 671 | }, 672 | "section": { 673 | "prefix": "section", 674 | "body": [ 675 | "
    ", 676 | "\t$1", 677 | "
    " 678 | ], 679 | "description": "HTML - Defines a section", 680 | "scope": "text.html" 681 | }, 682 | "select": { 683 | "prefix": "select", 684 | "body": [ 685 | "" 688 | ], 689 | "description": "HTML - Defines a selectable list", 690 | "scope": "text.html" 691 | }, 692 | "small": { 693 | "prefix": "small", 694 | "body": "$1$2", 695 | "description": "HTML - Defines small text", 696 | "scope": "text.html" 697 | }, 698 | "source": { 699 | "prefix": "source", 700 | "body": "$3", 701 | "description": "HTML - Defines media resource", 702 | "scope": "text.html" 703 | }, 704 | "span": { 705 | "prefix": "span", 706 | "body": "$1$2", 707 | "description": "HTML - Defines a section in a document", 708 | "scope": "text.html" 709 | }, 710 | "strong": { 711 | "prefix": "strong", 712 | "body": "$1$2", 713 | "description": "HTML - Defines strong text", 714 | "scope": "text.html" 715 | }, 716 | "style": { 717 | "prefix": "style", 718 | "body": [ 719 | "" 722 | ], 723 | "description": "HTML - Defines a style definition", 724 | "scope": "text.html" 725 | }, 726 | "sub": { 727 | "prefix": "sub", 728 | "body": "$1$2", 729 | "description": "HTML - Defines sub-scripted text", 730 | "scope": "text.html" 731 | }, 732 | "sup": { 733 | "prefix": "sup", 734 | "body": "$1$2", 735 | "description": "HTML - Defines super-scripted text", 736 | "scope": "text.html" 737 | }, 738 | "summary": { 739 | "prefix": "summary", 740 | "body": "$1$2", 741 | "description": "HTML - Defines a visible heading for the detail element [limited support]", 742 | "scope": "text.html" 743 | }, 744 | "table": { 745 | "prefix": "table", 746 | "body": [ 747 | "", 748 | "\t$1", 749 | "
    " 750 | ], 751 | "description": "HTML - Defines a table", 752 | "scope": "text.html" 753 | }, 754 | "tbody": { 755 | "prefix": "tbody", 756 | "body": [ 757 | "", 758 | "\t$1", 759 | "" 760 | ], 761 | "description": "HTML - Defines a table body", 762 | "scope": "text.html" 763 | }, 764 | "td": { 765 | "prefix": "td", 766 | "body": "$1$2", 767 | "description": "HTML - Defines a table cell", 768 | "scope": "text.html" 769 | }, 770 | "textarea": { 771 | "prefix": "textarea", 772 | "body": "$4", 773 | "description": "HTML - Defines a text area", 774 | "scope": "text.html" 775 | }, 776 | "tfoot": { 777 | "prefix": "tfoot", 778 | "body": [ 779 | "", 780 | "\t$1", 781 | "" 782 | ], 783 | "description": "HTML - Defines a table footer", 784 | "scope": "text.html" 785 | }, 786 | "thead": { 787 | "prefix": "thead", 788 | "body": [ 789 | "", 790 | "$1", 791 | "" 792 | ], 793 | "description": "HTML - Defines a table head", 794 | "scope": "text.html" 795 | }, 796 | "th": { 797 | "prefix": "th", 798 | "body": "$1$2", 799 | "description": "HTML - Defines a table header", 800 | "scope": "text.html" 801 | }, 802 | "time": { 803 | "prefix": "time", 804 | "body": "$3", 805 | "description": "HTML - Defines a date/time", 806 | "scope": "text.html" 807 | }, 808 | "title": { 809 | "prefix": "title", 810 | "body": "$1$2", 811 | "description": "HTML - Defines the document title", 812 | "scope": "text.html" 813 | }, 814 | "tr": { 815 | "prefix": "tr", 816 | "body": "$1$2", 817 | "description": "HTML - Defines a table row", 818 | "scope": "text.html" 819 | }, 820 | "track": { 821 | "prefix": "track", 822 | "body": "$5", 823 | "description": "HTML - Defines a table row", 824 | "scope": "text.html" 825 | }, 826 | "u": { 827 | "prefix": "u", 828 | "body": "$1$2", 829 | "description": "HTML - Used to define underlined text", 830 | "scope": "text.html" 831 | }, 832 | "ul": { 833 | "prefix": "ul", 834 | "body": [ 835 | "" 838 | ], 839 | "description": "HTML - Defines an unordered list", 840 | "scope": "text.html" 841 | }, 842 | "var": { 843 | "prefix": "var", 844 | "body": "$1$2", 845 | "description": "HTML - Defines a variable", 846 | "scope": "text.html" 847 | }, 848 | "video": { 849 | "prefix": "video", 850 | "body": [ 851 | "" 854 | ], 855 | "description": "HTML - Defines a video", 856 | "scope": "text.html" 857 | } 858 | } --------------------------------------------------------------------------------