Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

finn-eger/nudge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nudge

Spot when implementations change, but docs don't.

Nudge suggests documentation that might need review based on changes to implementations. It does this by looking at your commit history, parsing the files with changes, and flagging unchanged comments on changed code. Nudge integrates nicely with CI pipelines and IDEs to make it easy to keep documentation up to date.

Usage

Run nudge in your repository to check unstaged changes. Alternatively, specify a revision range like --revisions=main..branch. Ignore file header-comments with --ignore-headers. To use Nudge with GitHub Actions, pass the --format=github option, which will annotate suggestions in the GitHub file viewer.

Nudge can work on any language that has a Tree-sitter grammar. Currently C, Go, and Rust are implemented.

Visual Studio Code Extension

When a supported file is saved, the extension checks all changes in your workspace and adds info squiggles under relevant documentation. Enable/disable linting with the 'Toggle Nudge' command.

About

Spot when implementations change, but docs don't.

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •