|
| 1 | +<p align="center"> |
| 2 | + <a href="https://marketplace.visualstudio.com/items?itemName=eliostruyf.vscode-msgraph-autocomplete"> |
| 3 | + <img alt="Microsoft Graph Essentials" src="./assets/logo-big.png" height="200"> |
| 4 | + </a> |
| 5 | +</p> |
| 6 | + |
| 7 | +<h1 align="center">Microsoft Graph Essentials - Visual Studio Code Extension</h1> |
| 8 | + |
| 9 | +<p align="center"> |
| 10 | + <a href="https://marketplace.visualstudio.com/items?itemName=eliostruyf.vscode-msgraph-essentials" title="Check it out on the Visual Studio Marketplace"> |
| 11 | + <img src="https://vsmarketplacebadge.apphb.com/version/eliostruyf.vscode-msgraph-essentials.svg" alt="Visual Studio Marketplace" style="display: inline-block" /> |
| 12 | + </a> |
| 13 | + |
| 14 | + <img src="https://vsmarketplacebadge.apphb.com/installs/eliostruyf.vscode-msgraph-essentials.svg" alt="Number of installs" style="display: inline-block;margin-left:10px" /> |
| 15 | + |
| 16 | + <img src="https://vsmarketplacebadge.apphb.com/rating/eliostruyf.vscode-msgraph-essentials.svg" alt="Ratings" style="display: inline-block;margin-left:10px" /> |
| 17 | +</p> |
| 18 | + |
| 19 | +The Microsoft Graph Essentials extension helps you developing with the Microsoft Graph Toolkit & API. |
| 20 | + |
| 21 | +## Autocompletion for CSS variabls |
| 22 | + |
| 23 | +The extension gives you autocompletion for all the CSS variables which are used to customize the styling of the MGT web components. |
| 24 | + |
| 25 | +Example: |
| 26 | + |
| 27 | +```CSS |
| 28 | +mgt-person { |
| 29 | + --person-card-display-name-font-size: 40px; |
| 30 | + --person-card-display-name-color: #ffffff; |
| 31 | + --person-card-title-font-size: 20px; |
| 32 | +} |
| 33 | +``` |
| 34 | + |
| 35 | +Using is as simple as starting to type `--`, and the extension will show you all the options. |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | +## Snippets |
| 40 | + |
| 41 | +### React |
| 42 | + |
| 43 | +| Snippet | Purpose | |
| 44 | +|---------|---------| |
| 45 | +| `mgt-react-tmp` | Create a new MGT React template component. | |
| 46 | + |
| 47 | +### HTML |
| 48 | + |
| 49 | +Snippets to insert the MGT web component in HTML: |
| 50 | + |
| 51 | +| Snippet | |
| 52 | +|---------| |
| 53 | +{HTML_SNIPPETS} |
| 54 | + |
| 55 | +### CSS |
| 56 | + |
| 57 | +Snippets to quickly modify the component styles: |
| 58 | + |
| 59 | +| Snippet | |
| 60 | +|---------| |
| 61 | +{CSS_SNIPPETS} |
| 62 | + |
| 63 | +## Changelog |
| 64 | + |
| 65 | +See the [changelog](./CHANGELOG.md) for the latest changes. |
| 66 | + |
| 67 | +## Feedback and snippet ideas |
| 68 | + |
| 69 | +Feedback and/or ideas are always welcome. Please submit them via creating an issue in the extension repository: [issue list](https://github.com/estruyf/vscode-msgraph-essentials/issues). |
0 commit comments