Clippy for code snippets?

Are you looking for this?

8 Likes