Skip to content

Autocomplete crashes with files having space in the filepath/filename. #10613

@milcs

Description

@milcs

Before submitting your bug report

Relevant environment info

- OS:Win10
- Continue version: installed on 2026-02-18
- IDE version: PyCharm 2025.3.2.1
- Model:N/A
- config:
  
N/A
  
  OR link to agent in Continue hub:

Description

The Autocomplete crashes with a Pycharm popup message on all files that have space in the file path.
Error handling message of type getRepoName: java.lang.Exception: Invalid URI: file://C:/src/PycharmProjects/test1 project/os_tool/conf/config.py Illegal character in path at index 36: file:///C:/src/PycharmProjects/test1 project/os_tool/conf/config.py

Remark: The file path and name can have utf-8 chars not just ascii. E.g. šćčž and should be handled gracefully.

To reproduce

a = 1
b = 2
c =

Log output

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