Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 3 tasks
MODUSCarstenScholling opened this issue Oct 23, 2024 · 0 comments
Open
1 of 3 tasks
Labels

Comments

@MODUSCarstenScholling
Copy link

MODUSCarstenScholling commented Oct 23, 2024

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:
    • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants