Skip to main content

Module interactive

Module interactive 

Source
Expand description

Interactive mode for reviewing lint issues one by one.

Provides a TUI-like experience for:

  • Reviewing issues interactively
  • Opening files in editor at the issue location
  • Adding NOLINT comments to suppress specific issues
  • Generating vim quickfix format output
  • AI-powered fix suggestions

Re-exports§

pub use ai_fix::run_ai_fix_all;
pub use ai_fix::run_ai_fix_single;
pub use ai_fix::AiFixConfig;
pub use ai_fix::AiFixResult;

Modules§

ai_fix
AI-powered fix integration for interactive mode.

Enums§

InteractiveAction
Action taken for a single issue
InteractiveError
Errors that can occur during interactive mode operations

Functions§

add_nolint_comment
Add a NOLINT comment to suppress the given issue.
generate_quickfix
Generate quickfix format string from a list of issues
generate_quickfix_from_result
Generate quickfix format string from a RunResult
open_in_editor
Open a file in the user’s preferred editor at a specific line and detect changes.
run_interactive
Run the interactive review mode
write_quickfix_file
Write quickfix format to a file

Type Aliases§

InteractiveResult
Result type for interactive operations