Skip to content

Support find-all-references for type keywords #13566

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

Merged
3 commits merged into from
Jan 20, 2017
Merged

Conversation

ghost
Copy link

@ghost ghost commented Jan 18, 2017

Fixes #13473

@ghost ghost force-pushed the find_all_refs_primitive branch from abb0a29 to 2d232c2 Compare January 18, 2017 20:27
forEachChild(jsDoc, walk);
break;
default:
if (isTypeKeyword(node.kind)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this buy you much really.. like string, number will likely be in each file, might as well do the search.

case SyntaxKind.BooleanKeyword:
case SyntaxKind.NeverKeyword:
case SyntaxKind.NumberKeyword:
case SyntaxKind.KeyOfKeyword:
Copy link
Contributor

@mhegazy mhegazy Jan 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does find all refs on keyof T mean?

@ghost ghost force-pushed the find_all_refs_primitive branch from 1571762 to 6695ae1 Compare January 20, 2017 14:48
@ghost ghost force-pushed the find_all_refs_primitive branch from 6695ae1 to 36a9f67 Compare January 20, 2017 14:51
@ghost ghost merged commit c2f5ac4 into master Jan 20, 2017
@ghost ghost deleted the find_all_refs_primitive branch January 20, 2017 20:41
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants