Skip to content

Releases: Canop/bacon

bacon v3.23.0

Choose a tag to compare

@Canop Canop released this 19 May 13:28
  • scroll_anchor decides whether the scroll initially sticks with the first item (most common setting), with the last one, or to show most recent output lines unless there are errors in which case it show first items (by default in run jobs with auto) - Fix #384
    If you're using an old bacon.toml file, you may want to add scroll_anchor="auto" to jobs running the compiled executable.
  • show_command_error_code job parameter, which is true in default cargo run job - Fix #435
    When calling a lint or compilation tool, the exit status is usually not interesting: many tools report an error (i.e. a non zero code) as soon as there's an error, or even a warning (eg miri). That's why the error code isn't shown in bacon when there are also warnings, errors or test failures. But sometimes you do want to see such error, eg when running not just the compiler/linter but the program you're writing as in bacon run. In such case, you should set show_command_error_code=true.
  • fix a log message from the rodio library leaking to the interface - Fix #437 - Thanks @c-git
  • When a user requires the ignoring of some/folder, they usually wants to ignore the content of that folder. So now we also generate a pattern with added /** when it seems relevant. - Fix #438

bacon v3.22.0

Choose a tag to compare

@Canop Canop released this 16 Jan 18:02

As for all "young" analyzers, feedback would be very welcome - chat: https://miaou.dystroy.org/4683

bacon v3.21.0

Choose a tag to compare

@Canop Canop released this 11 Jan 07:47
  • add new line format template variables: {job} and {item-idx} - Fix #423 - Thanks @cehteh
  • add the show-item action, which scrolls the output to an item to reveal it - Thanks @cehteh
  • rerun job on undismiss
  • !pattern syntax in the ignore config field to override gitignore rules - Thanks @ishad0w
  • improved top item sticking (bacon is more often keeping the same item on top on recompute)

Users of nvim-bacon should update it and modify the export format to the new suggested format to have bacon show the item focused in nvim (it still works as before if you update only either bacon or nvim-bacon).

Users of emacs should have a look at this emacs minor mode: #422

bacon v3.20.3

Choose a tag to compare

@Canop Canop released this 10 Dec 19:17
  • fix a compilation problem of the "sound" feature - Fix #412 - Thanks @orhun

bacon 3.20.2

Choose a tag to compare

@Canop Canop released this 10 Dec 18:32
  • fix dependencies not compatible with rust MSRV - Fix #407 - Thanks @alerque
  • display message on sound when not enabled - Fix #410

bacon v3.20.1

Choose a tag to compare

@Canop Canop released this 12 Nov 17:47
  • --generate-config-schema generates a schema for bacon configuration files, with . Bacon users don't have to call it as the schema is web hosted and should be automatically picked by TOML editors (if necessary, you can help the editor by starting bacon.toml files with #:schema https://dystroy.org/bacon/.bacon.schema.json)
  • fix rustc analyzer for changes in cargo nightly output related to error and panic messages - Thanks @narpfel

bacon v3.19.0

Choose a tag to compare

@Canop Canop released this 13 Oct 15:51
  • update notify to fix a crash on BSD - Thanks @omarandlorraine
  • order list of jobs visible eg on shell completion - Fix #390

There's also a major feature: commands to dismiss and undismiss items or types of items
This makes it practical and efficient to do occasional "pedantic" reviews of your code - Fix #304
I wrote a blog post about it: https://dystroy.org/blog/practical-pedantism/

bacon v3.18.0

Choose a tag to compare

@Canop Canop released this 29 Aug 10:41
  • key bindings can use the cmd modifier (called "Command", "Super", "Windows", depending on the system)
  • with hide_scrollbar = true, you can make copy-pasting easier - Thanks @JeanMertz
  • when project dir isn't specified explicitly (with --project) bacon looks for an enclosing dir having a bacon.toml or Cargo.toml file - Fix #385

bacon v3.17.0

Choose a tag to compare

@Canop Canop released this 17 Aug 16:03
  • allow any file extension in eslint analyzer - Fix #377 - Thanks @meepleek
  • correctly understand cargo tests passing but with output - Fix #379

bacon v3.16.0

Choose a tag to compare

@Canop Canop released this 14 Jun 18:42

Example of using the new skin configuration:

[skin]
status_fg = 253
status_bg = 0
status_key_fg = 180
project_name_badge_fg = 253
project_name_badge_bg = 0
job_label_badge_bg = 109
warnings_badge_fg = 204
warnings_badge_bg = 253
computing_fg = 0
computing_bg = 180
search_input_prefix_fg = 67
found_fg = 67
found_selected_bg = 67

( by @mahume ) gives this:

image


@mhedgpeth added analyzers for swift build and swift lint.

Feedback would be very welcome regarding the use of bacon for Swift. Even confirming that you use it would help focus efforts.


The new "jobs menu" is triggered by ctrl-j:

image

And you may also define your own menu.

For example this configuration:

[keybindings]
alt-j = "open-menu(intro=Project Shortcuts (hit *esc* to cancel):,actions=[job:check-all,job:clippy-all,job:open-doc,export:myexport,open-jobs-menu,quit])"

opens this menu on alt-j:

image


All those new features are described in the documentation site at https://dystroy.org/bacon/

Best place for feedback is usually Miaou.