facebookarchive / ide-flowtype

Flow support for Atom IDE
Other
178 stars 17 forks source link

Not showing type coverage? #14

Open harsh-vardhhan opened 7 years ago

harsh-vardhhan commented 7 years ago

It's not showing percentage of code whose type definition is available.

didierfranc commented 7 years ago

The nuclide feature I miss the most

retrixe commented 7 years ago

Yeah, I would love to have this feature right now.

guiguan commented 6 years ago

I posted a temp solution to this: https://github.com/guiguan/ide-flowtype-coverage

apm install ide-flowtype-coverage

screen shot 2017-09-18 at 11 21 45 am

Hope ppl in FB can fix this soon :P

harsh-vardhhan commented 6 years ago

Temporary Solution:

  1. Install nuclide along with atom-ide-ui.
  2. enable nuclide and disable atom-ide-ui. [It won't allow you to enable both packages]

you'll be able to have type coverage along with the benefits of atom-ide-ui.

johnhaley81 commented 6 years ago

Correct me if I'm wrong but isn't nuclide a superset of atom-ide-ui? So that would make sense that it would work but doesn't really solve the problem of not having coverage in atom-ide-ui.

hansonw commented 6 years ago

We are investigating alternative implementations of type coverage (without Nuclide's type coverage UI).

harsh-vardhhan commented 6 years ago

@johnhaley81 true it was suppose to be but for now this is the only solution to get best of the both world's.

guiguan commented 6 years ago

Nuclide is too heavy to me. Definitely, prefer a more lightweight solution

wldcordeiro commented 6 years ago

@guiguan how come your solution isn't a PR to this repo? Feel like the temporary status could move quicker if it was. 😄

gregtatum commented 5 years ago

It would be nice to re-prioritize this work now that Nuclide is shutting down, there isn't an easy work-around anymore. This is one of the biggest holes working with Flow types not providing the coverage you think you are getting, so it would have a lot of impact to have a feature that would highlight all of the any types.

I wrote this up here: https://github.com/facebookarchive/atom-ide-ui/issues/142

image

image