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

Intellisense suggestions for string literal type. #7572

Closed
Tharaxis opened this issue Mar 17, 2016 · 1 comment
Closed

Intellisense suggestions for string literal type. #7572

Tharaxis opened this issue Mar 17, 2016 · 1 comment
Labels
Duplicate An existing issue was already created

Comments

@Tharaxis
Copy link

Would be great if CTRL+Space (or whatever your hotkey is for show suggestions) would show all the literal string options available for string literals.

In my case I have an <Icon> React component which takes an icon key as one of its props, and I want to limit the options that can be chosen. The string literals work great. Unfortunately because of the number of icons it's somewhat difficult to know what your options are and the intellisense is next to useless in this case because you get basically the first 3 or 4 options in the description, but nothing more. Being able to invoke suggestions and get the list would be a huge help.

@DanielRosenwasser
Copy link
Member

Thanks for filing, but this is a duplicate of #606.

@DanielRosenwasser DanielRosenwasser added the Duplicate An existing issue was already created label Mar 17, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 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

2 participants