cline
cline copied to clipboard
Context not added when Cline view is closed
What happened?
When using the shortcut (command + ') or the right-click menu option to add selected code context to Cline, the context is only successfully added if the Cline view is currently open. If the Cline view is closed (e.g., the file explorer is open on the left), the context is not added to Cline.
Steps to reproduce
- Ensure the Cline view is closed.
- Open a file in the VSCode editor.
- Select a block of code.
- Attempt to add the selected code to Cline using either the keyboard shortcut (command + ') or by right-clicking the selection and choosing the "Add to Cline" option from the context menu.
- Open the Cline view. The selected code context was not added.
Relevant API REQUEST output
N/A
Provider/Model
gemini / gemini-2.5-flash-preview-04-17
Operating System
darwin 24.3.0
System Info
VSCode: 1.100.0, Node.js: v20.19.0, Architecture: arm64
Cline Version
3.15.4
Additional context
N/A
@cline-triage Please review this issue and let me know if its fixed