项目作者: estruyf

项目描述 :
Microsoft Graph Essentials - The Microsoft Graph Essentials extension helps you developing with the Microsoft Graph Toolkit & API.
高级语言: TypeScript
项目地址: git://github.com/estruyf/vscode-msgraph-essentials.git
创建时间: 2021-03-30T17:23:21Z
项目社区:https://github.com/estruyf/vscode-msgraph-essentials

开源协议:

下载




Microsoft Graph Essentials

Microsoft Graph Essentials - Visual Studio Code Extension



Visual Studio Marketplace


Number of installs

Ratings

The Microsoft Graph Essentials extension helps you developing with the Microsoft Graph Toolkit & API.

Autocompletion for CSS variables and HTML attributes

The extension gives you autocompletion for all the CSS variables and HTML web component attributes.

The CSS variables are used to customize the styling of the MGT web components.

Example:

  1. mgt-person {
  2. --person-card-display-name-font-size: 40px;
  3. --person-card-display-name-color: #ffffff;
  4. --person-card-title-font-size: 20px;
  5. }

Using is as simple as starting to type --, and the extension will show you all the options.

The HTML attributes suggestions will automatically appear when using any of the mgt components in HTML files.

Commands

Currently the extension has the following commands you can use:

  • MS Graph: Open API documentation site (msgraph.essentials.openDocs)
  • MS Graph: Open Graph Explorer site (msgraph.essentials.openGraphExplorer)

Snippets

React

Snippet Purpose
mgt-react-tmp Create a new MGT React template component.

HTML

Snippets to insert the MGT web component in HTML:

Snippet
mgt-agenda
mgt-login
mgt-people
mgt-people-picker
mgt-person
mgt-person-card
mgt-tasks
mgt-teams-channel-picker

CSS

Snippets to quickly modify the component styles:

Snippet
mgt-agenda
mgt-login
mgt-people
mgt-people-picker
mgt-person
mgt-person-card
mgt-tasks
mgt-teams-channel-picker

Changelog

See the changelog for the latest changes.

Feedback and snippet ideas

Feedback and/or ideas are always welcome. Please submit them via creating an issue in the extension repository: issue list.