-
Notifications
You must be signed in to change notification settings - Fork 277
Open
Labels
acceptedado-syntax-highlightingIssues related to the new ADO syntax highlightingIssues related to the new ADO syntax highlighting
Description
1. Describe the bug
Method and procedure decorators cause parameters in XML comments to no longer be highlighted.
2. To Reproduce
Paste this into a VSCode AL file with AL Language activated and a project loaded.
codeunit 12345 "M365 Lala"
{
/// <summary>
/// The event is raised after the sales document is modified.
/// </summary>
/// <param name="salesHeader">A record of the Sales Header table.</param>
/// <param name="salesLine">A reference to the Sales Line table.</param>
[IntegrationEvent(true, false)]
local procedure OnAfterModifySales(salesHeader: Record "Sales Header"; var salesLine: Record "Sales Line")
begin
end;
/// <summary>
/// Modify the sales document.
/// </summary>
/// <param name="salesHeader">A record of the Sales Header table.</param>
/// <param name="salesLine">A reference to the Sales Line table.</param>
[NonDebuggable]
local procedure ModifySalesTake2(salesHeader: Record "Sales Header"; var salesLine: Record "Sales Line")
begin
end;
/// <summary>
/// The event is raised after the production order line is modified.
/// </summary>
/// <param name="salesHeader">A record of the Sales Header table.</param>
/// <param name="salesLine">A reference to the Sales Line table.</param>
local procedure RaiseOnAfterModifySales(salesHeader: Record "Sales Header"; var salesLine: Record "Sales Line")
begin
OnAfterModifySales(salesHeader, salesLine);
end;
}
3. Expected behavior
Parameters salesHeader and salesLine should be highlighted for every procedure, even with decorators.
4. Actual behavior
Decorators causing the XML comments to not highlight the parameters.
5. Versions:
- AL Language: 17.0.2037090
- Visual Studio Code: 1.108.1
- Business Central: 27.0
- List of Visual Studio Code extensions that you have installed: ms-dynamics-smb.al
- Operating System:
- Windows
- Linux
- MacOS
Internal work item: AB#621767
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
acceptedado-syntax-highlightingIssues related to the new ADO syntax highlightingIssues related to the new ADO syntax highlighting