mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
use menus contrib point for css preview
This commit is contained in:
@ -33,7 +33,15 @@
|
||||
"command": "extension.showCssPropertyPreview",
|
||||
"title": "Show CSS Properties Preview"
|
||||
}
|
||||
]
|
||||
],
|
||||
"menus": {
|
||||
"editor/title": [
|
||||
{
|
||||
"command": "extension.showCssPropertyPreview",
|
||||
"when": "resourceLangId == css"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",
|
||||
|
||||
Reference in New Issue
Block a user