dansomething / coc-java-debug

An extension for coc.nvim to enable Java debugging via jdt.ls
https://www.npmjs.com/package/coc-java-debug
Eclipse Public License 2.0
100 stars 8 forks source link

Can't view source code #20

Closed ilkl closed 3 years ago

ilkl commented 3 years ago

Coc-java cannot view the source code, but you can view the source code by installing a plug-in vscode-java-decompiler for vscode. Can you write a coc java decompiler plugin based on dgileadi/vscode-java-decompiler?

dansomething commented 3 years ago

At the moment I don't have the time to create and support a new plugin. That said, I did take a quick glance at vscode-java-decompiler and it looks fairly straightforward. It might not take much effort should you or somebody else want to port it to coc.nvim.

dansomething commented 3 years ago

Another quick note. Since there doesn't appear to be anything specific to vscode in vscode-java-decompiler, theoretically you could run it along with coc-java by just installing it.

You could add it to your vim runtimepath in your vimrc config. Something like this:

set runtimepath+=/path/to/vscode-java-decompiler

Or try installing it with the full GitHub url since it's not in npm:

CocInstall https://github.com/dgileadi/vscode-java-decompiler

Or try installing with a vim plugin manager:

Plug 'dgileadi/vscode-java-decompiler'

See the coc.nvim extensions docs for all the details on the available installation options.

ilkl commented 3 years ago

Thank you very much! I use Plug'dgileadi/vscode-java-decompiler' and it works.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically closed due to lack of activity.