IntellIJ Elixir v14.0.1
v14.0.1
Bug Fixes
-
Ignore atoms at top-level when looking for docs.
-
Replace
TODO()inleex.reference.resolver.Assignwith logger errors that includePSiElement. -
Ignore
typefor docs. -
Don’t look for variable use scope above EEx tags. If a variable is declared in an EEx tag then it is actually missing its declaration and cannot be resolved, so ignore its usage.
-
Check if module is disposed when write action is run for
syncLibraries. -
Only use Elixir SDK for
mix formatif it has an Erlang SDK. -
Include more lines of context for stacktraces in error reports.
-
Ignore identifier when
@*docattribute isn’t quoted. -
Ignore if package virtual file is disposed before the deps can be read.
-
Don’t decompile Erlang
Andas Elixirand. -
Ignore
request_bodyandresponsesfor docs. -
Check if heredoc has lines before calculating host text range for Markdown docs.
-
Ignore if stubs ids can’t be found when resolving Callables.
-
Ignore hexadecimal numbers at the root of the file when collecting doc comment.
-
Return an empty array of primaryArguments instead of array with null operand for unary operation without operand.
-
Set
sinceBuildto IntelliJ IDEA 2022.3. Fixes incorrect compatibility listed with < 2022.3 when < 2022.3 support was removed in 14.0.0 with #2946. -
Use
minByOrNullto protect from empty module list. This fix may not work as the line number reported in the errors is actually outside of the file. This is only a guess thatminBywas what was throwing theNoSuchElementexception. -
Ignore
nulloperands fornot inprimaryArguments(). Instead of including both left and right operand always and so having null operand in fixed size array return array with only non-null operands. -
Don’t allow Elixir SDK without Erlang SDK to be selected for New Project. The SDK has to be able to work for
mix new. -
Ignore strings, charlists, and sigils at the top of file when looking for doc comments.
-
Ignore top-level Aliases when collecting docs.
-
Ignored
unquotecalls when injecting docs. -
Find enclosing
quotewhendefs are inside anfnas in Phoenix Route Helpers. -
Handle binary modules when processing protocols and implementations for line markers and definition search.
-
Skip unqualified no arguments calls when Ecto.Query.from arguments are being typed.
-
Setting name on a call definition clause sets the name on the head instead. The JetBrains API both renames the usage references AND the original element where the rename refactoring was started, but when started on a call definition clause the
functionNameElementis thedef,defp,defmacro, ordefmacropand so both the name of the call was changed, but thedef*was also changed to the new name. Now, ifsetNameis called on a definition, the head is renamed instead. -
Filter out Elixir SDKs that don’t have an Erlang SDK when importing projects.
-
Check Elixir SDK has Erlang SDK before running dialyzer. Notify user of configuration error instead of throwing exception when constructing
mixcommandline. -
Log heredoc where Markdown cannot be injected.
-
Don’t inject Markdown in empty heredoc docs.
-
Log if new name element type does not match old name element type.
-
Replace name with relative identifier instead of identifier for qualified calls on rename.
-
Keep looking for variants above if and unless
ifandunlessused to callkeepProcessing()after checking if the child calls when resolving or searching for variants, but Variants returnedfalsealways fromkeepProcessing().This stops the variant search from terminating inside of an
iforunlesswhen it wouldn’t outside of one as was reported in #2751. -
List
KernelandKernel.SpecialFormsvariants inside modulars. Keep processing at end of modulars when looking for variants, which will check the implicit imports ofKernelandKernel.SpecialForms. -
Prevent listing variants from outer module in nested module
-
Log the accumulated and target usage type that cannot be folded.
-
Fix reporting
mix newerrors as notifications- Don’t associate mix new errors with new project as it doesn’t have a frame, so the notification was suppressed before.
- Strip color codes from mix new error notification.
-
Validate
–appis set correctly for new projects-
If inferred from project name, make sure the name is valid application name the same as
mix newdoes. -
If
–appis set explicitly, make sure it follows naming rules formix new.
-
If inferred from project name, make sure the name is valid application name the same as
Read next Simulate LiveView Latency with liveSocket.enableLatencySim()
