ignatov / intellij-erlang

Erlang IDE
https://www.jetbrains.com/help/idea/2018.2/getting-started-with-erlang.html
Other
735 stars 120 forks source link

Improve: case expression maybe judge at least two patterns better #991

Open anonymou3 opened 2 years ago

anonymou3 commented 2 years ago
case Expr of
    Pattern1 [when GuardSeq1] ->
        Body1
end

When I write the above code, just include one pattern, maybe tip me as a warning better, especially if the body is too long or nested with other expressions. This is hard to find out the error.

MANY THX, for this intelligent plugin.