Posts

Showing posts from August, 2023

2.2.8.1 release notes

  2.2.8.1 Issue 25  (phase 2) - Implemented several additional  code generation capabilities for Apex : Constructor  - Generates constructors based on base class constructors and/or local member variables (fields and properties) as appropriate and as selected by the user. Note that the  Implement / Override  code generation feature now also includes base class constructors when appropriate in addition to methods and interface methods. Add constructor parameters  - Added a code intention for member variables that are not already initialized in constructors to add them as constructor parameters that are used to initialize the respective member variables. The user is prompted as to which fields should be added to which constructors, and the  Change Signature  refactoring is then used to apply all changes, allowing the user an opportunity to tailor the resulting signature changes as desired, and to ensure that signature changes are properly refle...

2.2.8.0 release notes

  2.2.8.0 Issue 25  (partial) - Implemented several code generation capabilities for Apex: equals()  /  hashCode()  - Generates overrides of the  equals()  and/or  hashCode()  methods using user-specified fields, checking for  null  for those not specified as non-nullable. The enclosing Apex class must have at least one member variable (field or property) to be used for comparison. If either  equals()  or  hashCode()  already exists, only the missing method is generated. If both methods already exist, the user is prompted to remove and regenerate them using a new specification. NOTE:  The implementations of these methods are based on the canonical implementations from the Java ecosystem, adjusting for limitations and differences in Apex as necessary. I'm certainly open to other options for implementing them as long as they meet general contract of the implemented methods, are generic in nature, and do not fo...

2.2.7.9 release notes

  2.2.7.9 Issue 2188  - Added a project-level  Recent Connections  section to all project connection selectors that includes the most used  non-project  connections. Non-project connections are added to this list automatically when they are used for certain operations from the current project, e.g., metadata deployment/retrieval/removal, Anonymous Apex and SOQL Query execution, Log Analyzer, etc. This feature can be configured under  Illuminated Cloud | Configure Application | User Interface | Recent connections  as follows: Remember recent connections  - Allows the user to decide whether or not this feature is enabled ( enabled by default ). Clear recent connections for project  - Allows the user to clear/reset all remembered connections for the current project if desired. Maximum recent connections  - Allows the user to configure the number of recent connections that are included in the list in the range 5-20 ( 10 by default ). So...

2.2.7.8 release notes

  2.2.7.8 Issue 2354  - Fixed an issue with automatic import of custom LWC components in ES6+ files. Now the user will be prompted for the correct module import statement as well as the previous incorrect statement that referenced a relative file path (unfortunately I could only add the former so the latter is still offered). Fixed the file type association for  *.networkBranding  which was previously associated with both the XML and JSON file types. Now it is only (properly) associated with the JSON file type. Note that it may not automatically associate in an upgrade scenario due to restrictions around automated file type association  changes . If so, just add  *.networkBranding  to the JSON file type explicitly in  Settings / Preferences > Editor > File Types . Removed the IC2-specific custom module type as that is now a retired concept in the JetBrains plugin SDK. In general this change should be invisible to all users other than that ne...

2.2.7.7 release notes

  2.2.7.7 Issue 2402  - Fixed an issue where environment variables—most notably those configured for the Salesforce CLI—would not be propagated to sub-processes created by IC2 on Mac. Many thanks to Kyle Blair for his help in characterizing this issue and verifying the ultimate fix! Issue 2405  - Fixed an issue where the  Tab  key wouldn't be processed properly in an empty file/editor. Issue 2406  - Provided a workaround for one of two regressions introduced in 2023.2 that would result in repeated prompting for TextMate Bundles configuration in Community Edition IDEs. These two issues, as reported to JetBrains, are: IDEA-327045  - This is the issue for which a workaround is included, so hopefully it should be resolved seamlessly for users going forward. IDEA-327051  - IC2 does not include a workaround for this issue, but JetBrains has reproduced it and should hopefully be implementing a proper fix shortly. In the interim, they provided a manual wo...