-
Notifications
You must be signed in to change notification settings - Fork 316
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
Hovering over constructor's parameters shows an oversized font for the type #4120
Comments
Thanks, I can repro. class A {
/// aaa
final String aaa; // hover over aaa
A({required this.aaa}); // hover over aaa
} There's no obvious difference in the response from the server:
There's a missing newline before the package in the first one though: I think either LSP client or VS Code are supposed to convert |
So I think there are two issues here:
Edit: This was just one issue, which was a missing |
Fix on the way at https://dart-review.googlesource.com/c/sdk/+/257582/. |
Consecutive lines in Markdown are rendered as a single paragraph. To prevent these being joined together, they need an additional newline. Fixes Dart-Code/Dart-Code#4120. Change-Id: I8c6270cae51c2b580a13bd799e1c4c99a1d18a8e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/257582 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Fixed by dart-lang/sdk@8bf496e. It's an SDK change, so will show up in a future SDK release. |
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:
It gets a bit wild when the type is multiple
typedef
s (e.g. shelf'sMiddleware
type)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)
Please complete the following information:
The text was updated successfully, but these errors were encountered: