Shameless plug: Check out @elixirstatus' other community project:
Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.
Previously, the arity of a function or macro could only disagree with the definition and resolve if
ResolveResult
was marked as a validResult
.
incomplete
(because the IDE detects typing, etc) and the arity mismatches and the ResolveResult
is marked as an invalid result.
By marking all arity mismatches, regardless of incompleteness of the code as an invalid result, Go To Definition and Show Parameters works when the the arity is incorrect. This males Show Parameters work while typing out a call without the correct number of commas and allows jumping to the definition while typing out the call too.
Read next Understanding LiveView: build a Gallery app
Shameless plug: Check out @elixirstatus' other community project:
Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.