Skip to content
Changelog

Suggestions that span files

When a fix touches more than one file, Nitpick now proposes it as one suggestion. Apply it and both changes land in a single commit.

quayside/storefront · pull/22072 files
NitpickSuggested change across 2 files
routes/saved-carts.tsserver/products.ts
14−const items = await loadOneByOne(ids);
14+const items = await loadProducts(ids);
Apply to 2 filesOne commit

Some fixes don’t fit on one line range. Moving a query into a shared helper, for example, changes the route and the helper at once. Until now Nitpick described those fixes in words and left the edit to the author.

Suggestions can now carry a change to up to four files. The comment shows each file as a tab with its own diff, and applying it creates one commit with every change, so the history stays readable.

See it on your own pull requests.

Book a demo