continue icon indicating copy to clipboard operation
continue copied to clipboard

Unable to copy content from Continue window in Rider

Open Seany84 opened this issue 2 years ago • 12 comments

Before submitting your bug report

Relevant environment info

- OS: Windows 11
- Continue version: 0.0.75
- IDE version: JetBrains Rider v2024.2.8 build #RD-242.23339.62, built on October 8, 2024
- Model: Azure OpenAI 4o, ollama qwen2.5-coder:1.5b and openai text-embedding-3-large
- config.json:
  
{
  "models": [
    {
      "title": "Azure OpenAI 4o",
      "provider": "openai",
      "model": "gpt-4o",
      "apiBase": "[REDACTED]",
      "engine": "gpt-4o",
      "apiVersion": "2024-05-01-preview",
      "apiType": "azure",
      "apiKey": "[REDACTED]"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Tab Autocomplete Model",
    "provider": "ollama",
    "model": "qwen2.5-coder:1.5b",
    "apiBase": "[REDACTED]:11434/"
  },
  "embeddingsProvider": {
    "provider": "openai",
    "model": "text-embedding-3-large",
    "apiBase": "[REDACTED]",
    "apiVersion": "1",
    "apiKey": "[REDACTED]",
    "apiType": "azure"
  },
  "customCommands": [
    {
      "name": "test",
      "prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
      "description": "Write unit tests for highlighted code"
    }
  ],
  "contextProviders": [
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "edit",
      "description": "Edit selected code"
    },
    {
      "name": "comment",
      "description": "Write comments for the selected code"
    },
    {
      "name": "share",
      "description": "Export the current chat session to markdown"
    },
    {
      "name": "commit",
      "description": "Generate a git commit message"
    }
  ]
}

Description

  1. It is not possible to copy and text or code from the Continue window in Rider.
  2. it is not possible to paste into the search textbox in Continue.

To reproduce

  1. Generate a response from Continue.

  2. Select any text and copy (CTRL + C)

  3. Attempt to paste in Notepad or anything and the clipboard does not contain the content from the Continue window.

  4. Copy some text from outside Continue e.g. some code in Rider.

  5. Attempt to paste into continue search box

  6. Nothing is pasted

Log output

[info] Starting Continue core...
[2024-10-24T10:07:09] [info] Starting Continue core... 
[2024-10-24T10:07:09] Setup 
[2024-10-24T10:07:09] Core started 
[2024-10-24T10:08:33] Error parsing line:  {"messageId":"e0ee1eb6-6211-4ce1-94c8-9af9b19fd9b4","messageType":"readFile","data":"/* *\r\n *\r\n ....scrollablePlotArea.opacity\r\n */\r\n(\u0027\u0027); // keep doclets above in transpiled file\r\n"} SyntaxError: Unexpected token { in JSON at position 8193
[2024-10-24T10:33:39] Error retrieving from FTS: Error: SQLITE_ERROR: no such table: fts
[2024-10-24T10:34:00] (node:8512) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `continue-binary --trace-warnings ...` to show where the warning was created) 
[info] Starting Continue core...
[2024-10-24T10:39:38] [info] Starting Continue core... 
[2024-10-24T10:39:38] Setup 
[2024-10-24T10:39:38] Core started 
[2024-10-24T10:39:41] error when indexing:  Error: Failed to generate embeddings for 22 chunks with provider: OpenAIEmbeddingsProvider::text-embedding-3-large: Error: {"error":{"code":"404","message": "Resource not found"}}
[2024-10-24T10:39:41] Indexing failed with error:  Error: Failed to generate embeddings for 22 chunks with provider: OpenAIEmbeddingsProvider::text-embedding-3-large: Error: {"error":{"code":"404","message": "Resource not found"}} LanceDbIndex.getEmbeddings, process.processTicksAndRejections, async LanceDbIndex.computeRows, async LanceDbIndex.update, async CodebaseIndexer.indexFiles, async CodebaseIndexer.refresh, async Core.refreshCodebaseIndex
[2024-10-24T10:39:51] (node:14252) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `continue-binary --trace-warnings ...` to show where the warning was created) 
[info] Starting Continue core...
[2024-10-24T10:51:41] [info] Starting Continue core... 
[2024-10-24T10:51:41] Setup 
[2024-10-24T10:51:41] Core started 
[2024-10-24T10:51:42] Chunk to delete wasn't found in the table:  C:/Users/[REDACTED]\Debug\net8.0\[REDACTED].Up2Date
[2024-10-24T10:51:42] Chunk to delete wasn't found in the table:  C:/Users/[REDACTED]\[REDACTED].csproj.nuget.dgspec.json
[2024-10-24T10:51:42] Chunk to delete wasn't found in the table:  C:/Users/[REDACTED]\project.assets.json
[2024-10-24T10:51:42] Chunk to delete wasn't found in the table:  C:/Users/[REDACTED]\project.packagespec.json
[2024-10-24T10:51:44] error when indexing:  Error: Failed to generate embeddings for 22 chunks with provider: OpenAIEmbeddingsProvider::text-embedding-3-large: Error: {"error":{"code":"404","message": "Resource not found"}}
[2024-10-24T10:51:44] Indexing failed with error:  Error: Failed to generate embeddings for 22 chunks with provider: OpenAIEmbeddingsProvider::text-embedding-3-large: Error: {"error":{"code":"404","message": "Resource not found"}} LanceDbIndex.getEmbeddings, process.processTicksAndRejections, async LanceDbIndex.computeRows, async LanceDbIndex.update, async CodebaseIndexer.indexFiles, async CodebaseIndexer.refresh, async Core.refreshCodebaseIndex
[2024-10-24T10:51:54] (node:10040) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `continue-binary --trace-warnings ...` to show where the warning was created)

Seany84 avatar Oct 24 '24 12:10 Seany84

Same problem here. This is a major obstacle in productivity

HeinzBenjamin avatar Nov 21 '24 17:11 HeinzBenjamin

Thanks for reporting this! We will be aiming to release a JetBrains version later next week with a fix

sestinj avatar Nov 27 '24 20:11 sestinj

@Seany84 @HeinzBenjamin 0.0.83 is now available with what we believe should be a fix—can you confirm whether it works?

sestinj avatar Dec 16 '24 21:12 sestinj

I have 0.0.85 and I also cannot copy anything from the chat window. I can press the dedicated clipboard icons and they seem to work, but trying to highlight something specific and copying doesn't work.

BestJoester avatar Jan 21 '25 21:01 BestJoester

Same problem here!

freeman412 avatar Jan 22 '25 04:01 freeman412

Still not working in the latest version

pandamicro avatar Feb 13 '25 08:02 pandamicro

As @pandamicro said still not working (version 1.0.2), fix asap pls!

Meisst avatar Mar 12 '25 06:03 Meisst

Yeah, this trips me up multiple times a day. The built-in copy-button works, occasionally highlighting and right-clicking opens a context menu with a working copy functionality, but naturally ctrl+c (or better yet, make it a normal text area so IdeaVim works) would be best.

spaasis avatar Mar 27 '25 10:03 spaasis

Copy button at the bottom of the long text, can't copy part of it. Ctrl + C isn't working.

Image

vlamai avatar Apr 16 '25 05:04 vlamai

I had this problem (not being able to copy into continue.dev window) on Linux and after switching to Wayland (-Dawt.toolkit.name=WLToolkit). FWIW removing it solve this.

oz-managbl avatar Jul 30 '25 13:07 oz-managbl

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Oct 29 '25 02:10 github-actions[bot]

This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!

github-actions[bot] avatar Nov 09 '25 02:11 github-actions[bot]