sublimelsp / LSP-typescript

TypeScript, JavaScript support for Sublime LSP plugin
MIT License
131 stars 11 forks source link

see all typescript warnings in one place? #204

Closed gregsadetsky closed 1 year ago

gregsadetsky commented 1 year ago

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

predragnikolic commented 1 year ago

Hello.

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

predragnikolic commented 1 year ago

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

There is this open issue https://github.com/typescript-language-server/typescript-language-server/issues/358

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

rwols commented 1 year ago

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.

gregsadetsky commented 1 year ago

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