Skip to content
This repository was archived by the owner on Dec 8, 2020. It is now read-only.
This repository was archived by the owner on Dec 8, 2020. It is now read-only.

racer crash when there is an empty space in path on windows #218

Closed
@BusyJay

Description

@BusyJay

Version of VSCode: 1.11.2
Version of the extension: 0.3.14
OS: Windows 10

Description:

When there is a space in path, racer crashes.

Output of the "Rust logging" channel:

WARNING: Legacy Mode Manager: CompletionManager: restart
DEBUG: Legacy Mode Manager: CompletionManager: stop
DEBUG: Legacy Mode Manager: CompletionManager: start: enter
DEBUG: Legacy Mode Manager: CompletionManager: start: racerPath=C:\Users\user name\.cargo\bin\racer.EXE
DEBUG: Legacy Mode Manager: CompletionManager: start: ENV[RUST_SRC_PATH] = C:\Users\user name\.rustup\toolchains\nightly-2016-12-19-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src

Related issue: nodejs/node#7367
There is no workaround currently, because path always gets stripped by FileSystem.findExecutablePath.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions