Visual Studio Code, rebuilt in Rust
Rust
{
"name": "webview-context-pair",
"publisher": "port",
"version": "0.0.1",
"main": "./extension.js",
"activationEvents": ["onStartupFinished"],
"engines": { "vscode": "^1.90.0" },
"contributes": {
"commands": [{ "command": "webviewContextPair.hello", "title": "Say Hello" }],
"menus": {
"webview/context": [{ "command": "webviewContextPair.hello", "when": "webviewId == 'webviewContextPair' && webviewSection == 'text'" }]
}
}
}