Where is Accept Reject Actions in Editor Vscode are listened ? #6989
-
Before submitting your bug report
Relevant environment info- OS: Windows
- Continue version: 1.0
- IDE version: vscode
- Model: Gemini
- config:
OR link to assistant in Continue hub: DescriptionIn this Continue for Vscode, I search in react redux where the Accept and Reject actions of ID2 are listened to in order to put metrics ? What is file(s) ? Thank a lot ! To reproduceLog output |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
What are files listened "Accept " "Reject" events line by line in Continue Dev ? |
Beta Was this translation helpful? Give feedback.
-
@Symfomany what are you working on? These files should hopefully point you in the right direction: https://github.com/continuedev/continue/blob/main/extensions/vscode/package.json#L146 https://github.com/continuedev/continue/blob/main/extensions/vscode/src/commands.ts#L363 |
Beta Was this translation helpful? Give feedback.
-
I search ts files handle Acceot or Reject actions in Editor red and Green area on Vscode |
Beta Was this translation helpful? Give feedback.
-
What files listen theses actions in Editor: Accept or Reject |
Beta Was this translation helpful? Give feedback.
-
Maybe Layout.tsx in this listener 👍 No ? 👍 `
);` |
Beta Was this translation helpful? Give feedback.
-
How about this? https://github.com/continuedev/continue/blob/main/extensions/vscode/src/commands.ts#L393 We may not currently have a messenger for this on the GUI but if you're interested in how this is set up you can see a PR I recently opened that uses communication between the IDE and the GUI: |
Beta Was this translation helpful? Give feedback.
How about this?
https://github.com/continuedev/continue/blob/main/extensions/vscode/src/lang-server/codeLens/providers/VerticalPerLineCodeLensProvider.ts#L47
https://github.com/continuedev/continue/blob/main/extensions/vscode/src/commands.ts#L393
We may not currently have a messenger for this on the GUI but if you're interested in how this is set up you can see a PR I recently opened that uses communication between the IDE and the GUI:
https://github.com/continuedev/continue/pull/4596/files