├── .vscode
└── launch.json
├── .vscodeignore
├── CHANGELOG.md
├── README.md
├── images
├── mdb-angular-logo.png
└── snippets-usage.gif
├── package.json
└── snippets
├── snippets.json
└── typescript.json
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | // A launch configuration that launches the extension inside a new window
2 | // Use IntelliSense to learn about possible attributes.
3 | // Hover to view descriptions of existing attributes.
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 | {
6 | "version": "0.2.0",
7 | "configurations": [
8 | {
9 | "name": "Extension",
10 | "type": "extensionHost",
11 | "request": "launch",
12 | "runtimeExecutable": "${execPath}",
13 | "args": [
14 | "--extensionDevelopmentPath=${workspaceFolder}"
15 | ]
16 | }
17 | ]
18 | }
--------------------------------------------------------------------------------
/.vscodeignore:
--------------------------------------------------------------------------------
1 | .vscode/**
2 | .vscode-test/**
3 | .gitignore
4 | vsc-extension-quickstart.md
5 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Change Log
2 |
3 | All notable changes to the "mdb-angular-snippets" extension will be documented in this file.
4 |
5 | Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
6 |
7 | ## [Unreleased]
8 |
9 | - Initial release
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # MDB Angular Code Snippets
2 |
3 | This extension adds snippets for MDB Angular - Angular Bootstrap UI KIT
4 |
5 |
6 | 
7 |
8 | ## Usage
9 |
10 | Type part of snippet selector and press `enter`.
11 |
12 | Alternatively, press `Ctrl`+`Space` (Windows, Linux) or `Cmd`+`Space` (Mac OS) to display snippets list.
13 |
14 | ## Snippets list
15 |
16 | You can find list of available snippets below:
17 |
18 |
19 | ### HTML Snippets
20 |
21 | | Snippet | Description |
22 | | -------------------- | ------------------------------------------ |
23 | | `a-mdb-button` | MDB Button component |
24 | | `a-mdb-card` | MDB Card component |
25 | | `a-mdb-dropdown-default` | MDB Dropdown component (default version) |
26 | | `a-mdb-dropdown-material` | MDB Dropdown component (material version) |
27 | | `a-mdb-jumbotron` | MDB Jumbotron component |
28 | | `a-mdb-list-group` | MDB List group component |
29 | | `a-mdb-spinner` | MDB Spinner component (default version) |
30 | | `a-mdb-spinner-material` | MDB Spinner component (material version) |
31 | | `a-mdb-panel` | MDB Panel component |
32 | | `a-mdb-pagination` | MDB Pagination component |
33 | | `a-mdb-progress` | MDB Progress component (default version) |
34 | | `a-mdb-progress-material` | MDB Progress component (material version) |
35 | | `a-mdb-tabset` | MDB Tabset component |
36 | | `a-mdb-tab` | MDB Tab component |
37 | | `a-mdb-badge` | MDB Badge component |
38 | | `a-mdb-accordion` | MDB Accordion component |
39 | | `a-mdb-accordion-item` | MDB Accordion item component |
40 | | `a-mdb-collapse` | MDB Collapse component |
41 | | `a-mdb-basic-footer` | MDB Footer component (basic version) |
42 | | `a-mdb-hamburger-menu` | MDB Hamburger menu component |
43 | | `a-mdb-navs` | MDB Navs component |
44 | | `a-mdb-navbar-basic` | MDB Navbar component (basic version) |
45 | | `a-mdb-sidenav-basic` | MDB Sidenav component (basic version) |
46 | | `a-mdb-input` | MDB Input component |
47 | | `a-mdb-select` | MDB Select component |
48 | | `a-mdb-multiselect` | MDB Multiselect component |
49 | | `a-mdb-search` | MDB Search component |
50 | | `a-mdb-slider-default` | MDB Slider component (default version) |
51 | | `a-mdb-slider-material` | MDB Slider component (material version) |
52 | | `a-mdb-switch-material` | MDB Switch component (material version) |
53 | | `a-mdb-switch-material` | MDB Switch component (material version) |
54 | | `a-mdb-textarea` | MDB Textarea component |
55 | | `a-mdb-time-picker` | MDB Time picker component |
56 | | `a-mdb-modal-basic` | MDB Modal basic component |
57 | | `a-mdb-modal-cookies` | MDB Modal cookies component |
58 |
59 |
60 | ## Installation
61 |
62 | 1. Launch Visual Studio Code
63 | 2. Go to extensions tab - `Ctrl`-`Shift`-`X` (Windows, Linux) or `Cmd`-`Shift`-`X` (OSX)
64 | 3. Search for 'MDB Angular Snippets'
65 | 4. Choose the extension
66 | 5. Install extension and reload Visual Studio Code
--------------------------------------------------------------------------------
/images/mdb-angular-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mdbootstrap/mdb-angular-vscode-snippets/16a0b1175ac69c92daf32e0cd385ec252343b1ce/images/mdb-angular-logo.png
--------------------------------------------------------------------------------
/images/snippets-usage.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mdbootstrap/mdb-angular-vscode-snippets/16a0b1175ac69c92daf32e0cd385ec252343b1ce/images/snippets-usage.gif
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "mdb-angular-snippets",
3 | "publisher": "MDB",
4 | "displayName": "MDB Angular Snippets",
5 | "description": "Code snippets for MDB Angular - Angular Bootstrap UI KIT",
6 | "icon": "images/mdb-angular-logo.png",
7 | "repository": {
8 | "type": "git",
9 | "url": "https://github.com/mdbootstrap/mdb-angular-vscode-snippets.git"
10 | },
11 | "keywords": [
12 | "Angular",
13 | "Angular 2",
14 | "Angular 7",
15 | "Angular 8",
16 | "MDB",
17 | "MDBootstrap",
18 | "TypeScript",
19 | "HTML"
20 | ],
21 | "version": "0.0.1",
22 | "engines": {
23 | "vscode": "^1.34.0"
24 | },
25 | "categories": [
26 | "Snippets"
27 | ],
28 | "contributes": {
29 | "snippets": [
30 | {
31 | "language": "html",
32 | "path": "./snippets/snippets.json"
33 | },
34 | {
35 | "language": "typescript",
36 | "path": "./snippets/typescript.json"
37 | }
38 | ]
39 | }
40 | }
--------------------------------------------------------------------------------
/snippets/snippets.json:
--------------------------------------------------------------------------------
1 | {
2 | "MDB Button": {
3 | "prefix": "a-mdb-button",
4 | "body": [
5 | "$4"
6 | ],
7 | "description": "MDB Button"
8 | },
9 | "MDB Card": {
10 | "prefix": "a-mdb-card",
11 | "body": [
12 | "${3:Card Title}
",
17 | "
${2:This is a simple hero unit, a simple jumbotron-style component for calling extra attention to", 68 | " featured content or information.}
", 69 | "${3:It uses utility classes for typography and spacing to space content out within the larger container.}
", 71 | " ${4:Learn more}", 72 | "${3:Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus", 169 | " reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione", 170 | " porro voluptate odit minima.}
", 171 | "${2:Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim", 216 | " keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.}
", 217 | "