I have almost the same one in my elixir.json when I use VS Code! I'm pretty sure your YT channel was the inspiration, and I've used that snippet a ton over the past year or two.
"Inspect": {
"prefix": "ins",
"body": "|> IO.inspect(label: \"${1:$TM_LINE_NUMBER}\")$0",
"description": "Adds a pipeline with a labelled `IO.inspect`",
}
The only difference is that my version above makes the line number into a tab stop section so it's quick to swap out with another label.