jose-elias-alvarez / nvim-lsp-ts-utils

Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.
The Unlicense
438 stars 18 forks source link

Show source and code of linting issue? #45

Closed mgutz closed 3 years ago

mgutz commented 3 years ago

vscode shows the source of the linting issue (eslint or typescript) and the code for the failed rule. It's hard to disable errors or find online solution without this info. Is that possible with this plugin?

jose-elias-alvarez commented 3 years ago

Both of these are actually available but not shown by the built-in diagnostics handlers. I recommend trouble.nvim, which will show you both the source and the rule ID (and generally provide a more VS Code-like experience with diagnostics).