Skip to content

Error in path handling if it contains '#' symbol #297

Open
@ila-embsys

Description

@ila-embsys

OS: Windows

I created a project with a path containing the '#' symbol. 😂

When the rescript watcher found a problem in a source code it shows the problem in the problems tab.

But the file location has the wrong file path. The tail has been cut and the location has pointed to the parent directory of a directory with the '#' symbol.

For example "C:/dev/#baddir/project/App.res" has cut to "C:/dev/". Also if to click on the "problem item" vscode will try to open the file and shows the error message in the vscode notification: "Unable to open 'dev': File is a directory."

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions