Elixir Tips

Elixir Tips

  • Isaac Yonemoto

    ityonemo

    IO.inspect snippet for VSCode

    Makes multiline IO.inspects easy. You can usually ninja them out easily as a multiline too.
    {
    	"Inspect": {
    		"prefix": "ins",
    		"body": "|> IO.inspect(label: \"$0$TM_LINE_NUMBER\")",
    		"description": "Adds a pipeline with a labelled `IO.inspect`",
    	}
    }
    
    15 upvotes