IntelliJ Elixir 13.1.1
Changelog
Bug Fixes
-
Fix Project Initialization Failed from New > Project > Elixir
-
Catch and log
IOException
s swallowed by Project Initialization Failed. -
Recursively delete project directory before running
mix new
. Previously, the directory was only deleted if empty, but whether the.idea
directory is written whensetupProject
is called differs between IDE versions, so to be safe, recursively delete.
-
Catch and log
-
Fix Go To Definition for function in compiled modules.
When switching over to delayed decompilation,
ModuleImpl
did not haveprocessDeclaration
overloadded, so thePsiScopeProcessor
was never called on it and so theCallDefinitionClause
scope processor did not check theModuleImpl#callDefinitons
. - Implement Deprecated metadata handling for docs from BEAM files.
-
Don’t assume Elixir
SDK
sdkAdditionalData
is non-null
. -
Don’t restrict Run Configurations to Run in Modules to Elixir modules.
The docs for
ModuleType
say the concept is meant to be deprecated, so don’t enforce it and trying to loadElixirModuleType
in RubyMine breaks as it tries to loadElixirModuleBuilder
and thereforeJavaModuleBuilder
, which only works in IntelliJ. - Add the facet in a write action in addition to setting the SDK.
-
Increase
SUSPECT_NAME_SET_SIZE
to20
. Increased to cover the15
impl
s ofString.Chars
in thegeo
hex package. -
Log if
erl
binary is not found when trying to runmix format
. Log instead of letting it throw up the stack and cause an error report since the SDK not being set will be very common.
Read next Poznań Elixir Meetup #14