cline icon indicating copy to clipboard operation
cline copied to clipboard

Context not added when Cline view is closed

Open NightTrek opened this issue 8 months ago • 4 comments

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

  1. Ensure the Cline view is closed.
  2. Open a file in the VSCode editor.
  3. Select a block of code.
  4. 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.
  5. 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

NightTrek avatar May 15 '25 02:05 NightTrek

See comment

arafatkatze avatar May 28 '25 01:05 arafatkatze

@cline-triage Please review this issue and let me know if its fixed

NightTrek avatar Nov 29 '25 08:11 NightTrek