Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>gapiNew to Visual Studio Code? Get it now.
gapi

gapi

gapi

|
71 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

gapi

url

  1. https://account.microsoft.com/
  2. https://dev.azure.com
  3. https://marketplace.visualstudio.com

sh

npm install -g yo generator-code vsce yo code vsce package vsce publish

your_api.gapi

# target file
>src/api/user.gapi.js

# api base
^/user/

# GET /user/token
token

# POST /user/login
# name=&pin=
.login?name&pin&token

# GET /user/userInfo?user=&auth=true 
,userInfo?userId

# POST /user/adressList
# userId=&page=1&size=10&auth=true
;adressList?userId&page=1&size=10

# GET /user/logout?args
logout?

vscode

  "editor.tokenColorCustomizations": {
    "comments": "#00ff00",
    "textMateRules": [
      {
        "scope": "source.gapi to_file",
        "settings": {
          "foreground": "#c1f130",
          "fontStyle": "bold underline"
        }
      },
      {
        "scope": "source.gapi prefix",
        "settings": {
          "foreground": "#60faf8",
          "fontStyle": "bold"
        }
      },
      {
        "scope": "source.gapi comment",
        "settings": {
          "foreground": "#3ee0c3"
        }
      },
      {
        "scope": "source.gapi method",
        "settings": {
          "foreground": "#ff008a",
          "fontStyle": "bold underline"
        }
      },
      {
        "scope": "source.gapi sep",
        "settings": {
          "foreground": "#f7d967"
        }
      },
      {
        "scope": "source.gapi arg",
        "settings": {
          "foreground": "#6aaff2"
        }
      },
      {
        "scope": "source.gapi value",
        "settings": {
          "foreground": "#eba4d2"
        }
      }
    ]
  },
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft