continue icon indicating copy to clipboard operation
continue copied to clipboard

The context item in codebase retrieval cannot be clicked to navigate

Open anrgct opened this issue 1 year ago • 0 comments

Before submitting your bug report

Relevant environment info

- Continue:v0.9.203-vscode

Description

The context item in codebase retrieval cannot be clicked to navigate. error log

A rejected promise was not handled within 1 second: CodeExpectedError: Unable to open file:///2a2ec105-706f-47ff-b169-c225831431ad. Details: Cannot read file '/2a2ec105-706f-47ff-b169-c225831431ad' (Error: Unable to parse non-existent file '/2a2ec105-706f-47ff-b169-c225831431ad')

contextItem json data

{
    "name": "test.js (0-37)",
    "description": "/Users/anrgct/workspace/continue/manual-testing-sandbox/test.js (0-37)",
    "content": "```test.js (0-37)\nclass Calculator {\n constructor() {\n this.result = 0;\n }\n\n add(number) {\n this.result += number;\n return this;\n }\n\n subtract(number) {\n this.result -= number;\n return this;\n }\n\n multiply(number) {\n this.result *= number;\n return this;\n }\n\n divide(number) {\n if (number === 0) {\n throw new Error(\"Cannot divide by zero\");\n }\n this.result /= number;\n return this;\n }\n\n getResult() {\n return this.result;\n }\n\n reset() {\n this.result = 0;\n return this;\n }\n}\n\n```",
    "id": {
        "providerTitle": "codebase",
        "itemId": "15a0778c-d1d6-4c41-b5f9-8cae85feb684"
    }
}

I found a relevant piece of code but I don't know how to modify it 1725201824733

To reproduce

No response

Log output

No response

anrgct avatar Sep 01 '24 14:09 anrgct