consider using window/logMessage instead of console logging #124
WhoIsSethDaniel
started this conversation in
Ideas
Replies: 1 comment
-
FWIW, the current writing to stderr does cause Neovim to write to the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was wondering if, instead of writing certain things to stderr (certain .pl file's output is written to stderr, maybe other stuff), PerlNavigator could use window/logMessage?
At least in Neovim it allows a user to intercept the contents of the message and do something interesting with it. By default it just causes Neovim to log to the
lsp.log
, but if you have something like output-panel installed it means the user can see these messages in a buffer from within Neovim. I had no idea of this feature until I installed this plugin and usedgopls
which spits out all sorts of interesting info that I was unaware of (since I rarely look at thelsp.log
and there are a lot of things going on in that log).Beta Was this translation helpful? Give feedback.
All reactions