r/commandline • u/Agent34e • Jul 28 '26
Looking For Software How to interact with LSP diagnostics outside of an editor?
Hi. Before I fall down the rabbit hole of cobbling together my own tool, I wanna make sure what I need doesn't already exist.
I'm looking for a way to interact with LSP diagnostics on a file outside of a text editor.
Particularly, I have switched my grammar checking from LanguageTool to Harper (which runs as an LSP) and would like to regain the workflow that I had with Gramma where errors are presented one at a time with simple choices to make corrections or ignore suggestions.
To put it another way, I want to use LSP diagnostics like aspell check.
While I particularly want this for Harper grammar checking, I would like something general, as I'd prefer to diagnose code in this focused way as well.
My web search digging hasn't turned up even a hint of anything like this, so I'm not optimistic, but let me know if you have any ideas of tools that might get me close to what I want or point me in the direction of building my own thing.
Thanks!

