cursorless-dev / cursorless

Don't let the cursor slow you down
https://www.cursorless.org/
MIT License
1.14k stars 80 forks source link

neovim: Support native console.log working in vscode #2579

Open saidelike opened 3 months ago

saidelike commented 3 months ago

With https://github.com/cursorless-dev/cursorless/issues/2331 we support visualising logs inside vscode by spawning a task that does tail -f logfile.

However, before neovim 5.1.0 (node-client npm package), the native logs (console.log) were actually inside vscode natively but there was a bug that were not redirecting them into the custom logging system. see https://github.com/neovim/node-client/issues/329#issuecomment-2009676355 so it may actually be possible to use vscode debug console alternatively to writing them to a file.

It might be worth investing this again to see if we can get it to work with recent node-client.

pokey commented 3 months ago

This also applies to CI right?

saidelike commented 3 months ago

This also applies to CI right?

For CI, there is no concept of logs inside vscode so not sure what you mean?