You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Editors/README.md
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,29 @@ autocmd FileType swift setlocal omnifunc=lsp#complete
102
102
103
103
With this added in `.vimrc`, you can use `<c-x><c-o>` in insert mode to trigger sourcekit-lsp completion.
104
104
105
+
## Theia Cloud IDE
106
+
107
+
You can use SourceKit-LSP with Theia by using the `theiaide/theia-swift` image. To use the image you need to have [Docker](https://docs.docker.com/get-started/) installed first.
108
+
109
+
The following command pulls the image and runs Theia IDE on http://localhost:3000 with the current directory as a workspace.
110
+
111
+
docker run -it -p 3000:3000 -v "$(pwd):/home/project:cached" theiaide/theia-swift:next
112
+
113
+
You can pass additional arguments to Theia after the image name, for example to enable debugging:
0 commit comments