Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Support go to implementation for binary dependencies. #67

Open
everson opened this issue May 12, 2018 · 1 comment
Open

Support go to implementation for binary dependencies. #67

everson opened this issue May 12, 2018 · 1 comment

Comments

@everson
Copy link

everson commented May 12, 2018

A killer feature of Intellij is the ability for you see the implementation (by bytecode decoding, following included sources or even downloading sources).

Have you put any thought on implementing this?

@Ruin0x11
Copy link
Owner

Ruin0x11 commented May 12, 2018

I have, it's just that I need to implement the bit that marshals the .class file created by IntelliJ back to the client. For Emacs it should already be possible to view source files inside libraries, including following references and the like. To add this feature, there should be a case where if a binary file is detected the client can request the decompiled class as an LSP extension, then the actual file visited by the client will be pointed to a temporary file containing the decompiled source. Or the server could write the file instead and the client will assume the source file was placed in the location it expects.

One thing that should be possible now is updating the build system for your project to include sources for all libraries, then re-importing the project in IntelliJ so the sources are found for the binary libraries (there doesn't yet exist a command to do this client-side). Of course there could be libraries without any sources at all, so this is still an important feature to add.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants