Hi, Readers.
Last week, Microsoft released the release plan for Dynamics 365 Business Central 2025 release wave 2 (BC27), More details: New and planned features for Dynamics 365 Business Central, 2025 release wave 2 | Microsoft Learn
The AL Language extension changelog has also been updated. There is an interesting feature that can be tested.
Go To Symbol in Workspace:
The Visual Studio Code feature “Go To Symbol In Workspace” (Ctrl + T) has been extended to search for a broader range of AL symbols. In addition to application objects, it now includes Procedures, events, global variables, Page Controls, Page Actions, Table Fields, and many more.
This new way of searching can be disabled under the setting “al.extendGoToSymbolInWorkspace.enabled”, and configured the maximum amount of symbols to display with “al.extendGoToSymbolInWorkspace.ResultLimit” or if the search should go into the dependencies symbol files with “al.extendGoToSymbolInWorkspace.IncludeSymbolFiles”.
https://marketplace.visualstudio.com/items/ms-dynamics-smb.al/changelog
Let’s see more details.
The Visual Studio Code feature “Go To Symbol In Workspace” (Ctrl + T) was originally mentioned when we discussed Business Central 2025 wave 1 (BC26): Search, navigate and use app symbols as context for GitHub Copilot (Searchable downloaded symbols and using them as context in Copilot Chat)
We can now search objects from downloaded symbol packages via the ‘Open Symbol by Name‘ functionality (Ctrl+T).

Then enter the keyword you want to search, for example, Customer Card.

After selecting, you can open the standard AL file (standard code). This makes it much easier to find objects, and open the source, if the symbols include source code.

PS: Instead of using Ctrl+T, you can also manually enter the number sign (#) in the search box to start your search.

With this wave (BC27), Microsoft has expanded this feature. As mentioned above, the Visual Studio Code feature “Go To Symbol In Workspace” (Ctrl + T) has been extended to search for a broader range of AL symbols. In addition to application objects, it now includes Procedures, events, global variables, Page Controls, Page Actions, Table Fields, and many more.
PS: As you know, starting from Business Central 2023 wave 1 (BC22), we can install the Pre-Release Version of AL language directly in VS Code. For example,

Or



v16.0.1666832 (pre-release) ~

More details: Business Central 2023 wave 1 (BC22): Pre-release version of AL Language extension
In addition to application objects, we can now search for the following:
Procedures:

After clicking, you can jump directly to the target code, and the same is true for the following.

Events:

Global variables:

Page Controls:


Page Actions:

ActionRef can also be searched.

Table Fields:

Great, give it a try!!!😁
END
Hope this will help.
Thanks for reading.
ZHU




コメント