Sharing Phoenix templates across controllers & views On the Utility of Phoenix LiveView

IntelliJ Elixir v11.1.0

Enhancements

  • Update gradle plugins
    • gradle-intellij-plugin (org.jetbrains.intellij) to 0.4.10
    • org.jetbrains.kotlin.jvm to 1.3.50
    • de.undercrouch.download to 4.0.0
  • Update IDEA version in builds
    • 2019.2 -> 2019.2.2

Bug Fixes

  • Don’t log if partial or no header typeID is read. It happens too often due to .beam files being written partially to disk during the build process. They will be re-indexed when they are complete.

  • Update gradle intellij plugin to fix runIde on newer macOS.

  • Fix ConcurrentModificationException in Structure View

    Java 9 fixed a bug (https://bugs.openjdk.java.net/browse/JDK-8071667) in HashMap where computeIfAbsent did not check for concurrent modifications, and it turns out that TreeElementList was using concurrent modifications, so it was now broke. Fixed by use get or put if it is absent, so that putNew can ensure that the CallDefinition is in the TreeElementList before it is added to the MutableList<TreeElement>, which was the original reason why there was a put inside of computeIfAbsent, which would have put when the function returned anyway.

Installation Instructions