Skip to main content

Autocomplete

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

autocomplete

Installation

  1. install Swift from the marketplace and 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 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 ✅