Hover over label variable to see text string value

Important

This content is archived and is not being updated. For the latest documentation, go to What's new or changed in Business Central. For the latest release plans, go to Dynamics 365, Power Platform, and Cloud for Industry release plans.

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically Aug 13, 2023 Oct 2, 2023

Business value

When label variables are used in AL code, only the label name is shown inline in the source code. To understand what the value of the label is, the developer has had to navigate to the label definition or use Peek Definition. In this release we add the ability to just hover over the label variable and instantly see the text string value in the tooltip inline, thereby avoiding switching context to see the value.

Feature details

To easily see the text string value of a label variable, you can now just hover over the variable and the value will be shown in the tooltip. Thus you avoid too much content switching by navigating to the label definition or use Peek Definition (Alt+F12).

Here's a small example:

Hover over label variable to see the label string value

Tell us what you think

Help us improve Dynamics 365 Business Central by discussing ideas, providing suggestions, and giving feedback. Use the forum at https://aka.ms/bcideas.