sublimelsp / LSP-typescript

TypeScript, JavaScript support for Sublime LSP plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

see all typescript warnings in one place?

gregsadetsky opened this issue · comments

thank you for the amazingly useful package!

is there a way to see all typescript warnings for a file - or project/directory - in a single place? i.e. run a command to see them a bit like the "Find in Files..." results i.e. in a single view with the line + the warning + the line number?

thanks again

Hello.

Yes, you can toggle the diagnostic panel.
See: https://lsp.sublimetext.io/keyboard_shortcuts/

Also to note,
the language server doesn't support project wide diagnostics at the moment.

There is this open issue typescript-language-server/typescript-language-server#358

You can subscribe to that issue, if you want to track it.

You could also run npm start and inspect that for global errors in files that are not open in the editor, or use whatever build system you use.

amazing, the diagnostic panel is exactly what I was looking for. thanks!