From 09fc811232d7aa8d34fbbeb2a6c9a0f5373ec74a Mon Sep 17 00:00:00 2001 From: Assaf Sapir Date: Thu, 24 Aug 2023 11:17:41 +0300 Subject: [PATCH] DEV2-3530: Change all commands to snake case (#1269) * DEV2-3530: Change all commands to snake case * bump chatversion --- src/tabnineChatWidget/ChatApi.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tabnineChatWidget/ChatApi.ts b/src/tabnineChatWidget/ChatApi.ts index 5f79701962..600e14f396 100644 --- a/src/tabnineChatWidget/ChatApi.ts +++ b/src/tabnineChatWidget/ChatApi.ts @@ -140,18 +140,18 @@ export function initChatApi( ); chatEventRegistry.registerEvent( - "insert-at-cursor", + "insert_at_cursor", insertTextAtCursor ); chatEventRegistry.registerEvent< { symbol: string }, vscode.SymbolInformation[] | undefined - >("resolve-symbols", resolveSymbols); + >("resolve_symbols", resolveSymbols); chatEventRegistry.registerEvent< { symbols: vscode.SymbolInformation[] }, void - >("peek-definition", peekDefinition); + >("peek_definition", peekDefinition); chatEventRegistry.registerEvent( "update_chat_conversation",