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

Enum members do not show up in IDE documentation #55769

Open
matanlurey opened this issue May 18, 2024 · 1 comment
Open

Enum members do not show up in IDE documentation #55769

matanlurey opened this issue May 18, 2024 · 1 comment
Labels
analyzer-hover Issues related to hovers analyzer-server area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P3 A lower priority bug or feature request type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@matanlurey
Copy link
Contributor

Very simple reproduction case:

void main() {
  print(Numbers.one);
}

/// A number
enum Numbers {
  /// 1...
  one,
  
  /// 2...
  two,
  
  /// 3...
  three,
}

If I highlight over one in the print(...) statement, I see:

1...

If I highlight over Numbers (after enum), I see:

A number

But if it's over one in the enum, I see nothing :(

(Reproduces in DartPad as well as VSCode, Dart SDK version: 3.4.0.

@lrhn lrhn added area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool. dart-cli-doc labels May 19, 2024
@bkonyi
Copy link
Contributor

bkonyi commented May 22, 2024

cc @srawlins

@parlough parlough added area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. analyzer-server analyzer-hover Issues related to hovers and removed area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool. dart-cli-doc labels May 22, 2024
@srawlins srawlins added P3 A lower priority bug or feature request type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) labels May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-hover Issues related to hovers analyzer-server area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P3 A lower priority bug or feature request type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

5 participants