This post is part of the New Functionality In Microsoft Dynamics 365 Business Central 2023 Wave 2 series in which I am taking a look at the new functionality introduced in Microsoft Dynamics 365 Business Central 2023 Wave 2.
The thirteenth of the new functionality in the Development section is Get smarter method signature recommendations in IntelliSense.
One of the most common uses of IntelliSense when authoring code is getting parameter help on methods. IntelliSense is a great help, but not when showing options that don’t apply. Until now in AL, when there were multiple method overloads, the user would have to switch between them to get help matching the chosen overload. In this release, IntelliSense will be smarter and actually prioritize the first valid overload.
Enabled for: Admins, makers, marketers, or analysts, automatically
Public Preview: Aug 2023
General Availability: Oct 2023
Feature Details
The AL Language extension will now reorder and prioritize relevant overloads when the developer starts typing a method invocation. If the typed expression corresponds to a valid overload, it will always be the first recommendation and the correct active parameter will be highlighted. The rest of the recommendations will be sorted in the order of relevance based on the provided parameters.