Skip to content

Control Add-In XML comments are not properly handled/shown. #8205

@MODUSCarstenScholling

Description

@MODUSCarstenScholling

1. Describe the bug
Control addin XML comments are not properly handled. They are ignored. See #7880 Additional Info.

2. To Reproduce
Create the following object:

/// <summary>
/// I am a lonely Add-In...
/// </summary>
controladdin "M365 Lonely Add-In"
{
    /// <summary>
    /// Ready when you are.
    /// </summary>
    event OnAddInReady();

    /// <summary>
    /// Make me ready.
    /// </summary>
    procedure SetMeReady();
}
  1. In a project in VSCode, add the above object.
  2. Hover over M365 Lonely Add-In.
  3. Hover over OnAddInReady.
  4. Hover over MakeMeReady.

3. Expected behavior
Hovering all identifiers, xml comments of the respective object/members should be shown, object, event, procedure.

4. Actual behavior
Only when hovering the procedure identifier, the xml comment is shown. The event and object comments are ignored.

5. Versions:

  • AL Language: 17.0.2149326
  • Visual Studio Code: 1.109.5
  • Business Central: 27.4
  • Operating System:
    • Windows
    • Linux
    • MacOS

6. Additional info

Internal work item: AB#623392

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions