-
Notifications
You must be signed in to change notification settings - Fork 62
Remove all diagnostic parsing except json one #1
Comments
Apart from the fact that not many people may have found this repository yet, I am fine with it. I don't think parsing the raw text would give use any benefit and the "problems" panel is easiert to read anyway than the output panel. |
I can actually print parsed warnings and errors to the output panel, but I want to parse only JSON. |
I think it would be even better to just pass |
Hi @Jascha-N, I thought about it. When |
Strange, not in the version I'm using: The problem I have with the current RUSTFLAGS solution is that if I manually want to run cargo from the terminal after building with JSON errors enabled in the extension, it has to rebuild everything from scratch. And for the project I'm working on, that takes almost 2 minutes. |
Hi @Jascha-N, As I said before I had thought about it. |
@Jascha-N, It is strange. I saw another output. I will re-check. |
Hi @Jascha-N, |
I see only one problem here, which is a complex problems like in the code: fn main() {
let mut x: &i32 = &5;
{
let y = 5;
x = &y;
}
} We can show all errors this is what I think the best choice. |
I will start implementing it. |
Hi everybody,
Cargo supports emission of messages (warnings and errors) in JSON since 1.13
I don't think that anyone still uses lower version.
I want to remove all parse code of old formats.
I am going to do that in 3 days.
Has anyone any objections?
Best regards,
Alexey
The text was updated successfully, but these errors were encountered: