Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
saidelike opened this issue Jul 26, 2024 · 2 comments
Open

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

saidelike opened this issue Jul 26, 2024 · 2 comments
Labels
app-neovim Issues related to neovim support

Comments

@saidelike
Copy link
Collaborator

With #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 neovim/node-client#329 (comment) 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
Copy link
Member

pokey commented Jul 26, 2024

This also applies to CI right?

@saidelike
Copy link
Collaborator Author

saidelike commented Jul 26, 2024

This also applies to CI right?

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

@AndreasArvidsson AndreasArvidsson added the app-neovim Issues related to neovim support label Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-neovim Issues related to neovim support
Projects
None yet
Development

No branches or pull requests

3 participants