Unable to copy content from Continue window in Rider
Before submitting your bug report
- [x] I believe this is a bug. I'll try to join the Continue Discord for questions
- [x] I'm not able to find an open issue that reports the same bug
- [x] I've seen the troubleshooting guide on the Continue Docs
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
- It is not possible to copy and text or code from the Continue window in Rider.
- it is not possible to paste into the search textbox in Continue.
To reproduce
-
Generate a response from Continue.
-
Select any text and copy (CTRL + C)
-
Attempt to paste in Notepad or anything and the clipboard does not contain the content from the Continue window.
-
Copy some text from outside Continue e.g. some code in Rider.
-
Attempt to paste into continue search box
-
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)
Same problem here. This is a major obstacle in productivity
Thanks for reporting this! We will be aiming to release a JetBrains version later next week with a fix
@Seany84 @HeinzBenjamin 0.0.83 is now available with what we believe should be a fix—can you confirm whether it works?
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.
Same problem here!
Still not working in the latest version
As @pandamicro said still not working (version 1.0.2), fix asap pls!
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.
Copy button at the bottom of the long text, can't copy part of it. Ctrl + C isn't working.
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.
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.
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!