Skip to content

Missing contextual information when hovering over extension type declarations #5005

@incendial

Description

@incendial

Consider the following example:

extension type ET(Future<void> value) implements Future<void> {}

class SomeClass implements String {
  const SomeClass();
}

enum SomeEnum { first }

both enum and class have contextual info when hovering over their name (e.g. that it's a class and implements String):
Screenshot 2024-02-24 at 11 55 06

for extension types this tooltip has only the name:
Screenshot 2024-02-24 at 11 55 36

Please complete the following information:

Dart Code extension: 3.82.0

App: Visual Studio Code
App Host: desktop
Version: mac 1.86.2

Workspace type: Dart (LSP)

Dart (3.3.0): /Users/incendial/Desktop/flutter/bin/cache/dart-sdk
Flutter (3.19.1): /Users/incendial/Desktop/flutter (No device)

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serveris bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions