Autocomplete
This extension helps you to integrate Xcode with SourceKit-LSP for autocomplete functionality.
Installation
- install Swift from the marketplace and and xcode-build-server using Homebrew:
brew install xcode-build-server --head
-
Now create config file
buildServer.json
in the root of your project by running command: "SweetPad: Generate Build Server Config" from the command palette. -
Then you have to build project in order to create build logs which are parsed by xcode-build-server and sent to SourceKit-LSP
After that you autocmplete should work ✅