答案 0 :(得分:1)
"editor/title"
应该是正确的位置。以下是内置Markdown扩展程序的示例,.md
文件中的uses it to add the "Open Preview To The Side" button:
"contributes": {
"menus": {
"editor/title": [
{
"command": "markdown.showPreviewToSide",
"when": "editorLangId == markdown",
"alt": "markdown.showPreview",
"group": "navigation"
}
]
}
}