facebookarchive / ide-flowtype

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

Full descriptions aren't shown in diagnostics or tooltip. #64

Open karltaylor opened 6 years ago

karltaylor commented 6 years ago

Flow no longer gives me the full description of why there's a error. It states what the object is.

Any idea what I've done wrong? Using flow-bin@0.56.0 if it helps.

I have Atom IDE and ide-flowtype installed.

screen shot 2018-03-15 at 16 05 34

screen shot 2018-03-15 at 16 01 40

rhysforyou commented 6 years ago

I’ve been seeing the same issue with Flow 0.67

lachenmayer commented 6 years ago

Hi there, I'm affected by the same issue using flow-bin@0.65.0. Changing to the system Flow does not change the behavior unfortunately... A workaround for now is to run yarn flow check in the CLI - not ideal obviously :)

colus001 commented 6 years ago

I think flow-bin installed globally is outdated. Installing latest flow-bin locally and turning on Use flow-bin from node_modules when availble in settings solved problem in my case.

lloiser commented 6 years ago

The Flow Language Server, which this plugin is based on, does not provide the full description yet.

off topic: The flow-ide plugin actually shows the full error. Maybe one of the maintainers (me :grin:) could port it to the language server, let's see...

karltaylor commented 6 years ago

I am using the following:

"eslint": "^4.19.1",
"flow-bin": "^0.56.0",
"prettier": "^1.9.1",

And then in my packages for Atom:

and just receive very obscure warnings / errors.

screen shot 2018-04-10 at 14 36 57