答案 0 :(得分:2)
我看了你的回购并注意到你的package.json
文件中有错误。 keybindings
和configuration
节点必须在 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来解决这个问题。