I am using VSCode Remote Containers to run a native linux environment.
I am using Swift 5.3.2 Ubuntu 18.04 running in a docker container.
I can build the project. However, None of the imports work. For instance, I use
import Vapor and there is a red squiggle under Vapor that says " no such module Vapor"
I have the SourceKit-LSP running in the container. I have tried to rebuild but it still gives me the same messages.
BTW, This works fine under macOS Catalina in VSCode. (no container)
Has anyone else tried to use SourceKit-LSP in VSCode Remote Containers who might know the cause of this?
Upon further research I have the following message from the SourceKit language server:
sourcekit-lsp[220:dcff4700] could not open compilation database for /workspaces/myProject/Sources/App/routes.swift