coc-java icon indicating copy to clipboard operation
coc-java copied to clipboard

Can't find definition in generated-sources like vscode

Open blithefeng opened this issue 4 years ago • 0 comments

I have a big maven project, and there are five modules in it. In my project, one module named "common" is required by the other modules. In "common" module, I have to compile the rpc code and use these codes in other modules. But when using eclipse.jdt.ls in neovim, I couldn't find the definition of the Variable defined in generated-sources. I got response like:

// Failed to get sources. Instead, stub sources have been generated by the disassembler.
 // Implementation of methods is unavailable.
package my.proto;

But in vscode, I can jump to definition in generated-sources after compiled the dependent module.

blithefeng avatar Nov 27 '21 18:11 blithefeng