sourcegraph / javascript-typescript-langserver

JavaScript and TypeScript code intelligence through the Language Server Protocol
https://sourcegraph.com
Apache License 2.0
793 stars 72 forks source link

Completion of JSX component props? #395

Open phyllisstein opened 7 years ago

phyllisstein commented 7 years ago

Hey there! Is there any way of adding autocompletion of React components' props in JSX, given the fact that TypeScript allows those props to be statically typed? I noticed that VS Code does its best to implement something along those lines:

screenshot

Would be neat to see that trickle back to Atom as well.

Thanks for considering it, and for all your work on the language server!

felixfbecker commented 7 years ago

I don't see a reason why that wouldn't work