Skip to content
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

Display required / type quick info in the type helper #30334

Closed
wclr opened this issue Jul 10, 2017 · 1 comment
Closed

Display required / type quick info in the type helper #30334

wclr opened this issue Jul 10, 2017 · 1 comment
Assignees
Labels
feature-request Request for new features or functionality typescript Typescript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code) verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@wclr
Copy link

wclr commented Jul 10, 2017

As a feature request/suggestion:

It would be very useful if type helper would display at least what fields in the interface are required, or which can be omitted (undefined). This is really useful for new/unfamiliar libraries with complex interfaces: user can quickly define and fill required properties.

Required fields could be marked with (*) or another color.

image

Maybe also this free space could be used to output type value preview in an unobtrusive manner.

@mjbvz mjbvz self-assigned this Jul 10, 2017
@mjbvz mjbvz added feature-request Request for new features or functionality typescript Typescript support issues labels Jul 10, 2017
@mjbvz
Copy link
Contributor

mjbvz commented Dec 13, 2017

Depends on microsoft/TypeScript#12458

@mjbvz mjbvz added the upstream Issue identified as 'upstream' component related (exists outside of VS Code) label Dec 13, 2017
@mjbvz mjbvz added this to the Backlog milestone Dec 19, 2017
@mjbvz mjbvz modified the milestones: Backlog, December 2017/January 2018 Jan 8, 2018
@mjbvz mjbvz closed this as completed in ea55eda Jan 8, 2018
@mjbvz mjbvz added the verification-needed Verification of issue is requested label Jan 30, 2018
@chrmarti chrmarti added the verified Verification succeeded label Feb 1, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality typescript Typescript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code) verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants