sniprun
nvim-dap
sniprun | nvim-dap | |
---|---|---|
27 | 138 | |
1,353 | 4,832 | |
- | - | |
8.7 | 7.7 | |
5 days ago | 5 days ago | |
Rust | Lua | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sniprun
-
Compile and run inside nvim
If you want to compile/run specific lines of code (not the whole project), my plugin sniprun should be worth a look
-
How to take input in Python using lunar vim?
If I understand currently this https://github.com/michaelb/sniprun plugin should do the trick for you.
-
In-editor lua REPL: nvim-luadev vs neorepl.nvim
I can't speak for the two above plugins (I shall try them!), but... While I'm developing in Lua, I like to use michaelb's sniprun. I'll just build my tests inside the file I'm working on, and see my outputs update live within the buffer as I edit.
-
Tools for productivity
REPL??? Do you have a very-easy-to-use way of running and testing your code? From vim-slime to nvim sniprun to autocommands with the built in terminal, to an external repl like ptpython (for python obviously). iron.nvim and conjure are two other neovim repl plugins. There are many ways of running the code that you're working on, and having something that makes this really easy for you is pretty essential. (sometimes I use inotifytools on linux to literally just run the script every time I save it.)
-
Favorite REPL/Notebook/Task Running plugins and workflow?
I'm glad for the reminder about sniprun, I had it bookmarked but not categorized well enough and forgot about it.
-
TIL: you can run code inside markdown :O
Install SnipRun
-
New plugin: Equals (#=)
A similar plugin that comes to mind is sniprun.
- Run code in Nvim
- Is there any plugin or a way where I can see my code like this and not opening a browser to view it?
- Plugin for send code unit to any interpreter
nvim-dap
-
I can't stand using VSCode so I wrote my own (it wasn't easy)
There are DAP extensions for both Vim (e.g. https://github.com/puremourning/vimspector) and NeoVim (https://github.com/mfussenegger/nvim-dap). I can't speak as to the experience in detail (I think I briefly played with nvim-dap a year or two ago), but I suspect that for most it will be good enough.
-
Can you get better dapui varibles?
https://github.com/mfussenegger/nvim-dap/issues/1062 https://github.com/mfussenegger/nvim-dap/issues/737
-
How to start using Neovim for c++ development and debugging
Also, you can set up debugger integration with https://github.com/mfussenegger/nvim-dap .
- Build and run in one task using asynctasks.vim
-
How can I debug Python code in neovim!
You could use nvim-dap with nvim-dap-python.
-
How to debug python code in neovim
I'd suggest starting with a Neovim distro that makes things work for you and as you get familiar you can transition to a more custom configuration as you see fit. If you want to do it by yourself then the most popular plugin for debugging in Neovim is nvim-dap and there is also an extension for Python to give you a more ready to go config instead of doing it yourself. You should read the docs of those 2 to see how you should customize accordingly your configuration.
-
How to configure vim like an IDE
(neovim only) nvim-dap
-
How to display variable values inline?
https://github.com/mfussenegger/nvim-dap + https://github.com/theHamsta/nvim-dap-virtual-text should be able to do it, I think?
- New Nightmare, the Hammerhead Worm
-
Q: Setting up typescript debugger for neovim?
If you want to debug types in TypeScript, you could use marilari88/twoslash-queries.nvim. If you would like to debug TypeScript/JavaScript code, then you need mfussenegger/nvim-dap, you could read this article: Debugging using DAP to understand how to set up it.
What are some alternatives?
iron.nvim - Interactive Repl Over Neovim
vimspector - vimspector - A multi-language debugging system for Vim
codi.vim - :notebook_with_decorative_cover: The interactive scratchpad for hackers.
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
code_runner.nvim - Neovim plugin.The best code runner you could have, it is like the one in vscode but with super powers, it manages projects like in intellij but without being slow
nvim-gdb - Neovim thin wrapper for GDB, LLDB, PDB/PDB++ and BashDB
vim-slime - A vim plugin to give you some slime. (Emacs)
nvim-dap-python - An extension for nvim-dap, providing default configurations for python and methods to debug individual test methods or classes.
vim-terminator - :dagger: Run your code in an output buffer or a vim terminal conveniently
CodeLLDB - A native debugger extension for VSCode based on LLDB
neoterm - Wrapper of some vim/neovim's :terminal functions.
vscode-cpptools - Official repository for the Microsoft C/C++ extension for VS Code.