2017-04-18 67 views

回答

2

我看着你的回購,並指出,有一個在您package.json文件中的錯誤。該keybindingsconfiguration節點必須contributes,像這樣(我刪除keybindings,因爲它是空的):

"contributes": { 
    "commands": [ 
     { 
      "command": "extension.postMessage", 
      "title": "Microsoft Teams: Post Message" 
     }, 
     { 
      "command": "extension.postCurrentFile", 
      "title": "Microsoft Teams: Post Current File" 
     } 
    ], 
    "configuration": { 
     "type": "object", 
     "title": "Visual Studio Code Microsoft Teams configuration", 
     "properties": { 
      "microsoftteams.teamswebhook": { 
       "type": "string", 
       "default": "", 
       "description": "Microsoft Teams Webhook" 
      } 
     } 
    } 
}, 

我做了一個pull request修復此問題。

相關問題