File tree Expand file tree Collapse file tree
rascal-lsp/src/main/java/org/rascalmpl/vscode/lsp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public RascalInterface(IRascalMonitor monitor) {
6464 var port = Integer .parseInt (property );
6565 Socket socket = new Socket (InetAddress .getLoopbackAddress (), port );
6666 Launcher <LanguageRegistry > clientLauncher = new Launcher .Builder <LanguageRegistry >()
67- .setLocalService (new Object ())
67+ .setLocalService (new Object ()) // no local service
6868 .setRemoteInterface (LanguageRegistry .class )
6969 .setInput (socket .getInputStream ())
7070 .setOutput (socket .getOutputStream ())
Original file line number Diff line number Diff line change 3838import org .eclipse .lsp4j .jsonrpc .messages .ResponseErrorCode ;
3939import org .eclipse .lsp4j .services .LanguageClient ;
4040import org .rascalmpl .ideservices .GsonUtils ;
41- import org .rascalmpl .ideservices .IRemoteIDEServices ;
41+ import org .rascalmpl .ideservices .IDEServices ;
4242import org .rascalmpl .vscode .lsp .IBaseTextDocumentService ;
4343import org .rascalmpl .vscode .lsp .IDEServicesConfiguration ;
4444
@@ -69,9 +69,9 @@ public void run() {
6969 Socket connection = serverSocket .accept ();
7070 connection .setTcpNoDelay (true );
7171
72- Launcher <IRemoteIDEServices > remoteIDEServicesLauncher = new Launcher .Builder <IRemoteIDEServices >()
72+ Launcher <IDEServices > remoteIDEServicesLauncher = new Launcher .Builder <IDEServices >()
7373 .setLocalService (new RemoteIDEServicesServer (languageClient , docService , exec ))
74- .setRemoteInterface (IRemoteIDEServices .class )
74+ .setRemoteInterface (IDEServices .class )
7575 .setInput (connection .getInputStream ())
7676 .setOutput (connection .getOutputStream ())
7777 .configureGson (GsonUtils .complexAsBase64String ())
You can’t perform that action at this time.
0 commit comments