Bacon v3 released (dystroy.org)
from Deebster@programming.dev to rust@programming.dev on 11 Oct 2024 01:18
https://programming.dev/post/20425405

Bacon is a Rust code checker designed for minimal interaction, allowing users to run it alongside their editor to receive real-time notifications about warnings, errors, or test failures (I like having it show clippy’s hints).

It prioritizes displaying errors before warnings, making it easier to identify critical issues without excessive scrolling.

Screenshot (from an old version I think):

v3 adds support for cargo-nextest, plus some QoL improvements.

v3.0.0 release notes

#rust

threaded - newest

onlinepersona@programming.dev on 12 Oct 2024 06:28 next collapse

Not sure I understand this. Is it a watch clippy? Or a completely new tool? If it’s new, what does it provide over clippy?

Anti Commercial-AI license

Deebster@programming.dev on 12 Oct 2024 07:39 collapse

You can set it to show what you want; if I’m doing TDD I’ll set it to show the test output, and then it’ll show the warnings beneath it.

You can switch between the views with a key (T for tests (or N for nextest), C for clippy, etc

But yes, it’s pretty similar to using watch.

asdfasdfasdf@lemmy.world on 12 Oct 2024 09:57 collapse

Shouldn’t errors be in the bottom of the output if you don’t want to scroll?

Deebster@programming.dev on 12 Oct 2024 11:38 collapse

It shows the top line, so you just read top to bottom (and can scroll if you want).