vscode-extensions - 更新 vscode 语言扩展时如何更正 "You exceeded the number of allowed tags of 10"

标签 vscode-extensions

我已经更新我的语言扩展两年多了,没有出现任何问题。现在我收到错误“您超出了允许的标签数量 10”。我没有任何“关键字”,并且在 package.json 文件中找不到任何显示“标签”的内容。我的扩展程序上的标签是如何生成的?如何使它们低于 10?

我尝试减少 package.json 文件中“语言”中的别名。这没有帮助。

最佳答案

这似乎是故意的,如此处所述“Marketplace will enforce extension keyword limit of 10”,但查看评论似乎该更改引入了错误“Extension tags seem to be calculated incorrectly which blocks publishing

vsce 添加的标签扩展 list 是 keywords您指定的标签以及一些基于 activation events, supported file extensions, and other things specified 自动生成的标签在 package.json 。对于某些扩展来说,这些自动生成的标签远远超过 10 个。

直到vsce bug已修复您可以手动编辑<extension>.vsix/extension.vsixmanifest并从 <Tags>...</Tags> 中删除多余的标签部分,然后使用 vsce 发布扩展或网络界面。

关于vscode-extensions - 更新 vscode 语言扩展时如何更正 "You exceeded the number of allowed tags of 10",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/75238263/

相关文章:

visual-studio-code - 如何在 VSCode 扩展中保留 when 子句上下文

visual-studio-code - VS Code : enable inline spell checker, 但在 "Problems"面板中禁用拼写检查

visual-studio-code - 安装完成后在 visual studio 中出现黑屏

visual-studio-code - 在 VSCode 扩展中允许 QuickPick 上的新值

visual-studio-code - 在 vscode 扩展 api 的工作区中创建的新文件的监听器

visual-studio-code - VS Code 装饰器扩展高于/低于指定范围

python - 有没有办法检索当前选择的 conda 环境和/或在其中执行命令?

visual-studio-code - 在 VSCode 扩展中是否可以有一个在 Web View 和 TreeView 之间切换的面板

visual-studio-code - VSCode API 检查路径是否存在

python - VSCode 的 vscode-python 扩展是语言服务还是只是扩展?