use menus contrib point for css preview

This commit is contained in:
Johannes Rieken
2016-07-12 10:46:45 +02:00
parent 37a9a2f413
commit 4ce38ab40e

View File

@ -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",