Filenames without slashes aren't clickable


Clicking a filename like ./main.c works, but programs like GHC print filenames without the ./. Clicking a filename like fib.hs:5:2 should also work, but currently doesn’t.



I think this would be better categorized as a feature request than a bug. I think detecting file names that aren’t preceded by a / or obviously look like paths might be difficult to detect. One way is to have a cache of all the file names within the workspace and then use that to look it up. Even that might result in false positives.