TypeScript 3.0 related error spans meta issue · Issue #25257 · microsoft/TypeScript (original) (raw)

For TypeScript 3.0, we plan to support error messages with multiple spans (#10489, #22789, #24548). This means we can provide additional context on a given error.

Editor experience

You can give the latest VS Code Insiders a try to see how this currently feels.

image

@mjbvz may be interested in feedback here.

New Messages

In #22789 (comment), we reviewed the set of error messages that were candidates for multi-span errors; however, we feel that there are a set of errors that would provide the most impact if we prioritized them (i.e. they'd give users the most bang for the buck):


These messages didn't make in in time for 3.0, but we are still interested in them! Keep tabs on them over at #26077.

(:running_man: implies we have an existing PR)


We also have some other diagnostics that we'd love to get to, but have a finite set of resources. If anyone from the community is interested in prioritizing these messages, please feel free to grab an item from the below list, create an issue, and send us a pull request!