rescript-vscode icon indicating copy to clipboard operation
rescript-vscode copied to clipboard

Error in path handling if it contains '#' symbol

Open ila-embsys opened this issue 4 years ago • 1 comments

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."

ila-embsys avatar Aug 27 '21 23:08 ila-embsys

do other features like hover work?

this is porbably a bug in parsing diagnostics from compiler log.

amiralies avatar Aug 30 '21 11:08 amiralies