Fix button to open custom modes settings

This commit is contained in:
Matt Rubens
2025-01-23 08:14:15 -08:00
parent 0d6f928f9f
commit 2b059c6d15
4 changed files with 14 additions and 2 deletions

View File

@@ -655,6 +655,13 @@ export class ClineProvider implements vscode.WebviewViewProvider {
}
break
}
case "openCustomModesSettings": {
const customModesFilePath = await this.customModesManager.getCustomModesFilePath()
if (customModesFilePath) {
openFile(customModesFilePath)
}
break
}
case "restartMcpServer": {
try {
await this.mcpHub?.restartConnection(message.text!)