dart-lang / dart-lang/webdev

Hover over types could be more useful

Open
#1,035 4 comments 0 reactions 0 assignees View on GitHub
package:dwds
Dominant language
Dart
Stars
224
Forks
94
Avg merge
7h 14m
Merged PRs (30d)
2

Description

Right now, if I hover on `Future`, I see the following:

![Screen Shot 2020-06-09 at 12 06 51 PM](https://user-images.githubusercontent.com/2119553/84189355-01a34300-aa4a-11ea-932a-359d5ada9410.png)

I see similar hovering on anything that is a type. At a minimum, shouldn't see the `getObject` error. It'd be nice to show any relevant info (e.g., where it's defined, links) if possible.

FYI - @annagrin

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the hover on `Future` and tracing the type-hover handling in the web development tooling. The result should remove the `getObject` error and show relevant information such as where the type is defined or useful links, if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.