AL icon indicating copy to clipboard operation
AL copied to clipboard

Interface XML comments are not properly handled. They are ignored.

Open MODUSCarstenScholling opened this issue 4 months ago • 0 comments

1. Describe the bug Interface XML comments are not properly handled. They are ignored.

2. To Reproduce Create the following two objects including xml comments:

/// <summary>
/// Great interface to do even greater implementations.
/// </summary>
interface "M365 IFoo"
{
    /// <summary>
    /// Make me happy.
    /// </summary>
    procedure MakeMeHappy();
}
/// <summary>
/// Greatest implementation.
/// </summary>
codeunit 50000 "M365 Foo" implements "M365 IFoo"
{
    /// <summary>
    /// Empty default implementation.
    /// </summary>
    procedure MakeMeHappy()
	begin
	end;
}
  1. In a project in VSCode, add the above objects.
  2. Hover over M365 Foo.
  3. Hover over M365 IFoo.

3. Expected behavior In both hoverings, the xml comment of the respective object should be shown, codeunit and interface.

4. Actual behavior Only when hovering the implementation (codeunit), the xml comment is shown. The interface comment is ignored. See images.

Image Image

5. Versions:

  • AL Language: 15.0.1177813
  • Visual Studio Code: 1.94.2
  • Business Central: 25.0
  • Operating System:
    • [x] Windows
    • [ ] Linux
    • [ ] MacOS

6. Additional info The comments are missing also in controladdins. Hovering only shows the namespace and object name.

Internal work item: AB#555624

MODUSCarstenScholling avatar Oct 23 '24 05:10 MODUSCarstenScholling