-
Notifications
You must be signed in to change notification settings - Fork 683
Flow 0.28 better support #574
Comments
The line should def be highlighted cc: @nmote. As for the tooltips/resizing, agreed. We had that before but had to switch away from FixedDataTable to a simple html table in order to upgrade our Atom support, and haven't revisited the issue. |
Definitely agreed on the resizing, but realistically I'm not going to get around to it anytime soon. Tooltips with full error output should be pretty doable, though. I disagree that we should put an error on line 28 in your example. Flow is clearly reporting the primary location to be line 320. Often, Flow errors have many, many locations and it wouldn't be reasonable to display the error at all of them. Instead, we should work with the Flow team to make sure that errors are placed in the best location to begin with. |
Anyway thanks for awesome editor! Only nuclude forced me to switch from webstorm to atom. |
re line 28, after talking it through with @nmote, his explanation makes sense. Nuclide is just following what flow reports, so maybe you should file an issue for that there. Though I agree that the table could definite use some love :) |
Flowtype.org improves error hightligting on doc pages. Move cursor to highlighted errors on following block:
You will see, that they marked "input" and "output" parts of type errors. |
diagnostics feature requests have since been implemented, and error positioning problems are problems with Flow, not Nuclide |
Issue and Steps to Reproduce
### Expected Behavior
Line 28 should be highlighted with error.
Will be cool if list "Errors | warnings":
Actual Behavior
I'm go to console for running
flow
cmd for determining actual error message from flow.Versions
The text was updated successfully, but these errors were encountered: