Skip to content

Autocomplete crashes with files having square brackets in the filepath/filename. #10978

@Alo3-gh

Description

@Alo3-gh

Before submitting your bug report

Relevant environment info

- OS: Windows 11
- Continue version: v1.0.60
- IDE version: WebStorm 2025.2.5 Build WS-252.28238.10
- Model: Qwen2.5-coder / Qwen3-coder
- config: N/A

Description

Auto-completion fails with a pop-up message for all files with square brackets in the path.
Issue #10613 has the same problem.
After renaming the folder "[gamemode]" to "gamemode", the problem was resolved. Square brackets are required for my project.

To reproduce

a = 1
b = 2
c =

Log output

Error handling message of type getRepoName: java.lang.Exception: Invalid URI: file://C:/Users/username/WebstormProjects/server/gamemode/[gamemode]/resourceName/fileName.lua Illegal character in path at index 56: file://C:/Users/username/WebstormProjects/server/gamemode/[gamemode]/resourceName/fileName.lua

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:autocompleteRelates to the auto complete featureide:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windows

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions