Skip to main content

Autocomplete

This extension helps you integrate Xcode with SourceKit-LSP for autocomplete functionality.

autocomplete

Installation

  1. Install Swift from the marketplace and xcode-build-server using Homebrew:
brew install xcode-build-server --head
  1. Now, create config file buildServer.json in the root of your project by running command "SweetPad: Generate Build Server Config" from the command palette.

  2. Then you have to build the project in order to create build logs, which are parsed by xcode-build-server and sent to SourceKit-LSP.

After that, autocomplete should work ✅