TypeStrong / atom-typescript

The only TypeScript package you will ever need
https://atom.io/packages/atom-typescript
MIT License
1.13k stars 205 forks source link

[WIP] feat/check-related-files #1533

Closed firejune closed 4 years ago

firejune commented 4 years ago

This feature is about realtime check errors from related files by cursor position in design time. It using several protocols of tsserver:

Way use sync protocol?

  1. geterr command is does not guarantee the response of all files. It should be necessary synchronized list of open(and closed) files between the Atom.
  2. Handle for error messages for triggerFile. triggerFile is a property in ErrorPusher.errors. It is recognize for currently opened file in editor with working on ErrorPusher.clearFileErrors
  3. Doesn't need syntactic diagnostics because saved files are passed already(getter command will always check syntactic)

Known Issues

firejune commented 4 years ago

Thanks for feedback. I understand. this PR will be closed and I will recreate a new PR.