liquidz / vim-iced

Clojure Interactive Development Environment for Vim8/Neovim
https://liquidz.github.io/vim-iced/
MIT License
518 stars 35 forks source link

How to send debug output to stdout buffer instead of floating/popup window? #413

Closed guilhermedallanol closed 2 years ago

guilhermedallanol commented 2 years ago

Hey there!

Instead of having the result of the debug like this (floating/popup window?):

image

How can I make it to be printed to the Stdout buffer, like in this video?

Thanks!

liquidz commented 2 years ago

@guilhermedallanol The video behavior is from an early, older version.

What is your purpose for which you'd like to print debugging results to the Stdout buffer? If you want to see histories of debugging results, vim-iced-fern-debugger may be helpful.

guilhermedallanol commented 2 years ago

Oh, the problem in my end is that the floating/popup window is too small for some schemas that I have. That big schemas block me from seeing the rest of the information. If I had this in the buffer I would be able to scroll down and see all information.

I tried the fern debugger but I kept getting the sidebar for browsing the values and wasn't able to see which line I was like I could in the default debugger (as we can see that the execution is on line 20 in the image I posted above).

liquidz commented 2 years ago

Thanks for your response!

I see. Then, it may be good to create another debugger plugin to print results to Stdout buffer simply.

liquidz commented 2 years ago

I'll try it later.

guilhermedallanol commented 2 years ago

Awesome, thanks for that!

liquidz commented 2 years ago

@guilhermedallanol I've created for trial. https://github.com/liquidz/vim-iced-stdout-debugger Could you try this plugin?

liquidz commented 2 years ago

Feel free to reopen if you have any problems :)