Skip to content

bug: file completion corrupts previous paths when completing similar filenames #377

@rekram1-node

Description

@rekram1-node

When completing file paths like "src/App.tsx" followed by "src/App.css", the completion system incorrectly replaces parts of the previous path instead of just the current token being typed.

Video:
https://github.com/user-attachments/assets/748933b6-b495-4cd1-b90b-7ad54a1bd7e5

Version:

opencode --version
0.1.129

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions