Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Renaming Rust tests or benchmarks

To rename Rust tests or benchmarks use renumber crate.

Installation

cargo install renumber

Usage

renumber file_name_with_tests_or_benchmarks

Integration with JetBrains tools

Open Settings | Tools | External Tools window.

Add a new configuration as shown below:

Add new keyboard shortcut:

Accept changes: