File paths in warnings and errors are currently not clickable, because it doesn't match the common patterns to specify lines and columns. E.g. currently it prints:
Warning found:
in module Transity.Data.Ledger
at src/Transity/Data/Ledger.purs line 44, column 1 - line 44, column 42
This should be changed to:
Warning found:
in module Transity.Data.Ledger
at src/Transity/Data/Ledger.purs:44:1 - 44:42
Haskell and Rust already use this style:
/Users/adrian/Projects/tasklite/app/Main.hs:177:1: error:
Parse error: module header, import declaration
or top-level declaration expected.
|
177 | foobar
| ^^^^^^
[Running cargo fmt && cargo test]
error: expected one of `!` or `::`, found `use`
--> /Users/adrian/Projects/textalyzer/src/lib.rs:6:1
|
4 | foobar
| - expected one of `!` or `::` here
5 |
6 | use pad::{Alignment, PadStr};
| ^^^ unexpected token
File paths in warnings and errors are currently not clickable, because it doesn't match the common patterns to specify lines and columns. E.g. currently it prints:
This should be changed to:
Haskell and Rust already use this style:
/Users/adrian/Projects/tasklite/app/Main.hs:177:1: error: Parse error: module header, import declaration or top-level declaration expected. | 177 | foobar | ^^^^^^