Eclipse language server integration triggers associated class on each file mapping #1196
Unanswered
ArunMahalingamAdv
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi, Could you not set |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm developing a plugin for codecompletion like copilot for eclipse for this I used org.eclipse.lsp4e.languageServer extension in my plugin.xml and mapped java files with it like below
But this calls the codecompProcessStreamConnectionProvider whenever I create new java file. Also when I create a new java file the existing server receives a shutdown request and streams are closed but not from my code its done indirectly and then this class is getting called for each new java file.
How to make the server as common for all files and it should not be reinitialised for each java file . I made the class singleton like below but no help
Beta Was this translation helpful? Give feedback.
All reactions