Skip to content

Hovering over constructor's parameters shows an oversized font for the type #4120

@osaxma

Description

@osaxma

Describe the bug

Hovering over constructor parameters (named or unnamed) shows an oversized font for the type. The same oversized appears when hovering over the name of an argument of a constructor with named parameters as seen below:

Screen Shot 2022-08-25 at 11 42 49 AM

It gets a bit wild when the type is multiple typedefs (e.g. shelf's Middleware type)

Screen Shot 2022-08-25 at 11 47 11 AM

Expected behavior
I would expect the same font size as when hovering over the member definition (this is a wide screenshot so it looks smaller)

Screen Shot 2022-08-25 at 11 45 24 AM

Please complete the following information:

  • VS Code version: Version: 1.70.1
  • Dart extension version: v3.46.1
  • Dart/Flutter SDK version: Dart SDK version: 2.17.6 (stable) (Tue Jul 12 12:54:37 2022 +0200) on "macos_x64"

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