microsoft / microsoft/TypeScript

Bring back typedef property expansion

Open
#25,784 15 comments 86 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

In Discussion Suggestion
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

From @zavr-1 on July 18, 2018 20:25

In the newer version, I can only see the type of an argument which is an object, compared to how it was expanded in the previous versions.

test3

It was actually very useful to see all properties on hover which served as a documentation.

test4

I think if you hide the details of the type, you should also provide means to expand its properties via a UI, or provide a setting for it.

Copied from original issue: Microsoft/vscode#54609

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by reproducing the hover for an object-typed argument in the newer version and compare it with the earlier expanded display shown in the screenshots; done means properties can be expanded in the UI or a setting provides equivalent control.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.