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

Enable quick info when hovering over function or => #19653

Closed
ghost opened this issue Nov 1, 2017 · 2 comments
Closed

Enable quick info when hovering over function or => #19653

ghost opened this issue Nov 1, 2017 · 2 comments
Labels
Duplicate An existing issue was already created

Comments

@ghost
Copy link

ghost commented Nov 1, 2017

TypeScript Version: 2.7.0-dev.20171101

Code

foo(function() {});
foo(() => {});

Expected behavior:

We should be able to get quick info on the function without giving it a name.

Actual behavior:

Only way to get quick info is to add a name and hover over the name.

@ghost ghost added the Suggestion An idea for TypeScript label Nov 1, 2017
@mhegazy
Copy link
Contributor

mhegazy commented Nov 1, 2017

We should enable quickinfo on the function keyword, like we do with default today. possibly the => in the case of a lambda.

@mhegazy
Copy link
Contributor

mhegazy commented Nov 1, 2017

Duplicate of #2736

@mhegazy mhegazy marked this as a duplicate of #2736 Nov 1, 2017
@mhegazy mhegazy added Duplicate An existing issue was already created and removed Suggestion An idea for TypeScript labels Nov 1, 2017
@ghost ghost closed this as completed Nov 1, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

1 participant