Run SourceKit-LSP in Docker/Vagrant

(Satish) #1

You can use VSCode on Windows(or any os) while running and debugging swift on a Docker/Vagrant Ubuntu Server.
Also, same implementations can be used in Cloud IDE's (Che or theia)

Possible Solutions:

  1. Using TCP/IPC (VSCode Langauge Client's NodeModule, not Sure Requires more Reserch)
    -Sourcegraph runs LSP servers as a remote service using plain old TCP.
  2. SSH
  3. Using the vagrant-exec extension to execute LSP commands in Ubuntu-Swift-Vagrant

@blangmuir, @krzyzanowskim,

(Ben Langmuir) #2

I've also used a host X11 (Xquartz on macOS) with the application running in Docker.