Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The context item in codebase retrieval cannot be clicked to navigate #2155

Open
3 tasks done
anrgct opened this issue Sep 1, 2024 · 1 comment
Open
3 tasks done
Labels
area:context-providers Relates to context providers ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior

Comments

@anrgct
Copy link
Contributor

anrgct commented Sep 1, 2024

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

@dosubot dosubot bot added area:context-providers Relates to context providers ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior labels Sep 1, 2024
@RomneyDa
Copy link
Collaborator

Hi @anrgct,
This should be fixed by this PR
#3247
Can you check if you're still seeing this on pre-release next week?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:context-providers Relates to context providers ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants