mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Get communication working between extension and webview; add shared data types
This commit is contained in:
@@ -37,6 +37,7 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
vscode.commands.registerCommand("claude-dev.plusButtonTapped", () => {
|
||||
const message = "claude-dev.plusButtonTapped!"
|
||||
vscode.window.showInformationMessage(message)
|
||||
provider.postMessageToWebview({ type: "action", action: "plusButtonTapped"})
|
||||
})
|
||||
)
|
||||
|
||||
@@ -44,6 +45,7 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
vscode.commands.registerCommand("claude-dev.settingsButtonTapped", () => {
|
||||
const message = "claude-dev.settingsButtonTapped!"
|
||||
vscode.window.showInformationMessage(message)
|
||||
provider.postMessageToWebview({ type: "action", action: "settingsButtonTapped"})
|
||||
})
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user