If you want a simple, but only partial solution, set the begin/end pairs.
Document > Julia Options... > General > Begin/End pairs:
(if),(for),(while),(begin),(try),(module),(basemodule),(type),(struct),(quote),(function),(macros),(let)|(end)
This expression is basically a list of start keywords that pair with "end" as an end keyword. it ignores everything in the middle (elseif, else, catch, finally), as well as it does not handle multi-word start keywords like "mutable struct".