Practical Pedantism
dystroy.org·15w·
Discuss: r/rust
💻TUI Development
Preview
Report Post

This article introduces an efficient way to take advantage of lint tools raising huge amount of issues.

I’ll take the example of cargo clippy -- -W clippy::pedantic but the workflow and tool I describe here can be applied to other settings (eg “nursery”), other tools, or other programming languages.

Such tool typically finds a lot of potential problems. You don’t want to “fix” them all, or not immediately, but it’s still a good idea to review them from time to time, in order to improve the quality of your code and your practices.

The Goal

The goal is to:

  • to see the list of items the tool detects, and have this list updated while you code
  • to go to the next item, with just a shortcut in your IDE
  • to be able to dismiss the current item, still without leaving the IDE
  • to …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help