3 ms·
Does neovim let me select a term and quick-list declarations, the definition, & references across the codebase? Step-by-step debug with gdb integration? Otherwi
by boppo1 3y ago
Does neovim let me select a term and quick-list declarations, the definition, & references across the codebase? Step-by-step debug with gdb integration? Otherwise I have to clutch my VS Code.
I'm not shit flinging. Always wanted to be a 1337 FOSSy cli-only hackerman until I started trying to contribute to a C codebase with a thousand files of thousands of lines of code. Hung my head in shame and installed VS Code.
- huseyinkeles 3y agoYes, Neovim natively supports LSP (Which, interestingly we have thanks to VSCode. It binds to the same thing that VSCode binds to. So you have feature parity). [0] And anything related to debugging, we have nvim-dap. (Which AGAIN we have the DAP (Debug Adapter Protocol) thanks to VSCode) [1] [0] - https://neovim.io/doc/user/lsp.html https://neovim.io/doc/user/lsp.html [1] - https://github.com/mfussenegger/nvim-dap https://github.com/mfussenegger/nvim-dap
- boppo1 3y agoThank you!
- galoisscobi 3y agoI actually find neovim to work better than VSCode when dealing with large codebases. Telescope [1] based fuzzy searching makes it easy to find stuff in a codebase and harpoon [2] can then be used to short list some important files and quickly navigate to them. There's definitely a bit of a learning curve and setting up your own keybindings before you feel like you're used to it. [1] https://github.com/nvim-telescope/telescope.nvim https://github.com/nvim-telescope/telescope.nvim [2] https://github.com/ThePrimeagen/harpoon https://github.com/ThePrimeagen/harpoon
- boppo1 3y agoThank you!