rescript-vscode
rescript-vscode copied to clipboard
Improved parsing of error logs
Related https://github.com/rescript-lang/rescript-compiler/issues/6203
Currently, VSC parses the error logs from /lib/bs/.compiler.log to extract the necessary information for the editor. However, this is a fragile system prone to parsing errors when dealing with corner cases from the compiler. To improve this, the compiler could model the error information into a JSON format for VSC to use.