Can a service to search/find an annotation be the same using a Proxy or Client/Server ? #896
Unanswered
cmoulliard
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Do I get it right that what you want is to
If so, it's very possible to have it all in the same bit of code but making sure that
However, in that particular case, I would recommend that instead of creating a proxy LS delegating to JDT-LS, you consider creating an extension/plugin to JDT-LS to hook your extra command in it. The eclipse-jdt/eclipse.jdt.ls repo is where that particular approach HTH |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I created a simple project where it is possible to launch the LSP server using either the "proxy" approach (1) - see code here
or the LSP server (2) is started as a Java process and exposed behind a socket -
To perform an annotation search, I execute a command with approach (1)
but do a workspace symbol and text search for approach (2) - code
Can (1) and (2) use the same code to the search or some limitations exist which prevents to do that ?
Beta Was this translation helpful? Give feedback.
All reactions