2

这是我尝试使用作为参考的方法:

"myextension.myProperty": {
    "type": "string",
    "default": "",
    "markdownDescription": "This is my property description and I want to link this [command](command:editor.action.addCommentLine)!"
}

在设置页面中,“命令”不显示为链接,只是纯文本。

4

1 回答 1

0

这是在vscode 问题 71295中报告的:“支持属性描述中的命令链接”。

并且使用PR 100304,它应该在 VSCode v1.47, June 2020 “Permit command URIs in markdownDescription of extension setting”

没有这个 PR:

https://user-images.githubusercontent.com/6726799/84792806-3edc7780-afec-11ea-980d-01f87d78a4c0.png

有了这个 PR,单词 ' here' 变成了一个切换到扩展视图的超链接。 (command:workbench,view.extensions)

于 2020-06-28T15:26:01.987 回答