flow icon indicating copy to clipboard operation
flow copied to clipboard

Show full error snippets in LSP errors

Open ArmorDarks opened this issue 6 years ago • 0 comments

Given the type

// @flow

export type Term = { prop: string }

compare LSP error with original Flow error:

3

2

Because LSP error doesn't show full code snippet in error, it is extremely hard to understand at a glance what to referencing 1 and 2

Flow 0.91.0, tested with flow-for-vscode 1.0.1, default settings.

ArmorDarks avatar Jan 26 '19 14:01 ArmorDarks