4 ms·
This is the list of features (in Eclipse) that I'd like to use in Vim: - Show in Breadcrumb to show the package name > class > function in the top of the edito
by auraham 4y ago
This is the list of features (in Eclipse) that I'd like to use in Vim:
- Show in Breadcrumb to show the package name > class > function in the top of the editor
- Open Call Hierarchy to show all places where a class/variable is used.
- Show Type Hierarchy to show how a given class is derived from Object.
- Debug Shell for running snippets in the debugger.
I know that I can use grep or ag for some of them, but I rather prefer to see the hierarchy as shown in Eclipse.
- petepete 4y agoI think you can get most of the first three of your requirements from TreeSitter and LSP. The treesitter context plugin (https://github.com/nvim-treesitter/nvim-treesitter-context https://github.com/nvim-treesitter/nvim-treesitter-context) provides the package/class/function info at the top and the LSP gives you features like 'find-references' and 'go-to-definition' you can bind to the keys of your choice. I use 'gr' for 'find-references' and 'gd' for 'go-to-definition. I don't use a debug shell (I use a tmux pane and a repl usually) but I'm certain there are options.