rescript-vscode
rescript-vscode copied to clipboard
Error in path handling if it contains '#' symbol
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."
do other features like hover work?
this is porbably a bug in parsing diagnostics from compiler log.