Business Central 2023 wave 2 (BC23): Show list of keys while working on AL code

Dynamics 365 Business Central

Hi, Readers.
The public preview for Dynamics 365 Business Central 2023 release wave 2 (BC23) is available. Learn more: Link.

I will continue to test and share some new features that I hope will be helpful.

Show list of keys while working on AL code:

Business value:
IntelliSense offers great productivity features. On request, we have now added support for suggesting available keys when calling methods accepting key parameter. This improves speed and accuracy of coding and thus productivity.

VS Code IntelliSense features are powered by a language service. A language service provides intelligent code completions based on language semantics and an analysis of your source code. If a language service knows possible completions, the IntelliSense suggestions will pop up as you type. If you continue typing characters, the list of members (variables, methods, etc.) is filtered to only include members containing your typed characters. Pressing Tab or Enter will insert the selected member.

You can trigger IntelliSense in any editor window by typing Ctrl+Space or by typing a trigger character (such as the dot character (.) in AL language).

In Business Central 2022 wave 2 (BC21), Microsoft has brought us the following two new features.

Business Central 2022 wave 2 (BC21): See the primary key for table fields in IntelliSense (PKx – the order of the field in the key in the IntelliSense list)

Business Central 2022 wave 2 (BC21): Record tooltip has new primary key indicator (PKx – the order of the field in the key)

Now Microsoft has enhanced this feature again.

AL methods accepting keys, such as SetCurrentKey(), now have IntelliSense listing key parameters that are available.

Until now it has only shown the list of fields.

Note that IntelliSense still suggests table fields, in case the developer wants to just perform sorting on specific fields. Keys are only suggested for the first parameter; subsequent parameters just suggest fields.

This is a small update, but it makes life easier. Give it a try!!!😁

1. Business Central 2023 wave 1 (BC22): IntelliSense indicator for temporary tables and IntelliSense suggestion for enum ordinal value

2. Business Central 2022 wave 2 (BC21) new features: Specify completion in IntelliSense with a character (period, comma, colon, semicolon, brackets, as well as single and double quotes)

3. Dynamics 365 Business Central: Intellisense will suggest tables for report extension data-items


Hope this will help.

Thanks for reading.



Copied title and URL