image.png

The CGFT Xcode extension provides ghost text code completion for all Intel and Apple Silicon Macs. You can either connect to our free hosted models or use your own local model with Ollama.

Discord Server: https://discord.gg/thvGxSudFA

Getting Started

  1. Download the app at https://cgft.io/xcode and install it.

  2. If this is your first time using the app, you will need to login to continue. (Detailed steps here)

  3. Once you are authenticated, you will be shown the settings page.

  4. In the settings page, you will be shown a popup to grant accessibility permission. If not, click on “Request” to get the popup. (Detailed steps here) (See why we need accessibility permissions)

    Screenshot 2024-10-08 at 8.37.18 PM.png

  5. You can close the settings window now. To open the window again, click on the ~/ icon on the status bar.

    Screenshot 2024-10-08 at 10.17.40 PM.png

  6. Ghost text completion should work on your Xcode now!

    ready.gif

Model selection

By default, you will be using our free CGFT hosted model. This should give you the fastest completions.

To use a local model:

  1. Ensure ollama is up and running.
  2. Ensure your code completion model is downloaded on your machine. We recommend Qwen 2.5-coder 1.5B model.
  3. Open the model settings and select your model from the dropdown.
  4. Done! You are now using your local model.

Troubleshooting