xixiaofinland/sf.nvim

"go to definition" in Apex LSP doesn't always work

Closed this issue · 1 comments

The "go to definiton" (class, method, variable) supplied by apex-jorje-lsp.jar doesn't always work. It's typically bind to key gd.

In nvim, we can use ctag to generate ctag file to complement it. Even better, the C-] in nvim will use LSP "go to definition", and fall back to ctag automatically if fails. I currently use it in my own dotfiles, it works seamlessly, covering all "go to definiton" scenarios.

Wonder if it's a good idea to add this ctag feature into sf.nvim? Thoughts? @FedeAbella @waltonzt

https://github.com/xixiaofinland/dotfiles/blob/a9af020733617e19dbfc121af9de465b7e80cd1d/.config/nvim/lua/plugins/fzf-lua.lua#L22