release notes

Post date: September 23, 2021 11:17 AM

  • Issue 1944 - Support for JetBrains 2021.2...with a caveat - As you're likely well aware, the JetBrains 2021.2 IDE updates included a number of issues and regressions. JetBrains has since issued two patches, and the latest version at the time of this writing is 2021.2.2. Most of the serious problems that were introduced in 2021.2 have been resolved, though there does still seem to be one, IDEA-274533, that is not completely addressed. In Illuminated Cloud 2, that issue manifests as problems with code completion, reference navigation, etc., in Visualforce and Aura code. More specifically, when it occurs you will see a NoClassDefFoundError for EmbeddedMarkupUtil in your idea.log file. This only seems to happen for some users, and it only happens to those users sometimes. For some users who have been affected, a full uninstall/reinstall of the base JetBrains IDE seems to resolve the issue completely, so it's possible that it's a result of one or more in-place IDE upgrades over time. Nonetheless, I'm continuing to pursue a proper resolution for that issue with JetBrains.
    You may also see the IDE report what seem to be critical errors originating in Illuminated Cloud 2, or even in JetBrains' own plugins. A few of these are completely benign in spite of the seeming severity, e.g.,
    IDEA-274541 where it complains about resource loading via paths with a leading slash (/). Again, I've logged these misleading reports with JetBrains and will work with them toward minimizing the unnecessary noise.
    In the meantime, given that there only seems to be one remaining real issue (those feel like famous last words), and given that it doesn't seem to affect many users (I'm really digging a deep hole for myself here), I'm opening up Illuminated Cloud 2 for installation in the latest-and-greatest JetBrains IDEs. If installed into 2021.2 or higher, you'll see a warning banner each time the product is first started about these potential issues and the workaround of reverting to 2021.1.3 if you experience them. If you do experience issues, please let me know either via
    email or in the public issue tracker via Issue 1944.

  • Issue 1967 - Illuminated Cloud no longer uses the namespace in sfdx-project.json. Now it exclusively derives the namespace for CLI-managed connections from the output of sfdx force:org:list. Note that you must be on an up-to-date version of the Salesforce CLI for it to report org namespaces reliably.

  • Issue 1978 - Fixed the return type of System.List.add(Object).

  • Issue 1980 - Fixed an issue with the CLI invocation when trying to create a scratch org based on a source org ID where the edition cannot also be specified in the scratch org definition. I also updated the scratch org creation UI to conditionally disable the edition selector when a source org ID is specified.

  • Fixed an issue with deployment and retrieval of pseudo-decomposed metadata types such as Territory2Model.

  • Prospective fix for an error during SFDX project creation of the form A name parameter is required to create storage.

  • Fixed an issue that was preventing the unused declaration code inspection from treating fields annotated with @InvocableVariable as external entry points.

  • Fixed an issue with references to static resources in source format projects from Visualforce $Resource.resourceName expressions.

  • Other related fixes and improvements.