Skip to content

Commit 5fe1f9d

Browse files
committed
Delete the unused NO_VALID_CODE_BLOCKS_IN_CLIPBOARD warning message from the dictionary and command handler
1 parent 94bab32 commit 5fe1f9d

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

‎packages/shared/src/constants/dictionary.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ export const dictionary = {
4848
'Another response review is currently ongoing. Would you like to switch to the new one?',
4949
SKIPPING_INVALID_PATH: (file_path: string) =>
5050
`Skipping applying change to invalid path: ${file_path}`,
51-
NO_VALID_CODE_BLOCKS_IN_CLIPBOARD:
52-
'Unable to find valid code blocks in the clipboard.',
5351
CODE_COMPLETIONS_NO_SELECTION:
5452
'Code completions are not supported with active text selection.',
5553
CANNOT_REFERENCE_FILE_OUTSIDE_WORKSPACE:

‎packages/vscode/src/commands/apply-chat-response-command/apply-chat-response-command.ts‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -800,9 +800,6 @@ export const apply_chat_response_command = (
800800
}
801801
}
802802

803-
vscode.window.showWarningMessage(
804-
dictionary.warning_message.NO_VALID_CODE_BLOCKS_IN_CLIPBOARD
805-
)
806803
return null
807804
}
808805

0 commit comments

Comments
 (0)