Feat/add ide opened file to chat context (#1106)

* feat(chat): add active editor file context and related functionality

* feat(chat): improve active editor file context handling and update translations

* feat(i18n): standardize quotation marks in file attachment messages

* update Korean translation for image removal action in file attachment

* feat(chat): refine active editor file handling and optimize broadcast logic

* fix(chat): stabilize VS Code editor context chips

---------

Signed-off-by: David Saz <david.saz.g@gmail.com>
Co-authored-by: Bohdan Triapitsyn <artmore@protonmail.com>
This commit is contained in:
David Saz
2026-05-05 01:24:03 +03:00
committed by GitHub
co-authored by Bohdan Triapitsyn
parent 7fc22bc69b
commit 5475ef2db3
12 changed files with 528 additions and 97 deletions
+3
View File
@@ -1278,6 +1278,9 @@ export const dict = {
'chat.fileAttachment.actions.attach': 'Attach files',
'chat.fileAttachment.actions.removeNamed': 'Remove {name}',
'chat.fileAttachment.actions.removeImage': 'Remove image',
'chat.fileAttachment.activeEditor.addFile': 'Add file:{name} to context',
'chat.fileAttachment.activeEditor.pinSelection': 'Pin selection to context',
'chat.fileAttachment.activeEditor.remove': 'Remove from context',
'chat.pendingChanges.fileCountSingle': '{count} file',
'chat.pendingChanges.fileCountPlural': '{count} files',
'chat.pendingChanges.changedInWorkspace': 'changed in workspace',