I installed SourceKittenDaemon by cloning and make install
start:
sourcekittendaemon start --project MyProject.xcodeproj/ --port 53259
Getting a list of files works ok.
If I do the following request:
[HTTP] GET /complete X-Offset:41 X-Path:/Users/dan2552/projects/my_project/MyProject/App/AppDelegate.swift
I get an empty collection as the response:
When running straight from SourceKitten (installed by homebrew) using:
sourcekitten complete --file /Users/dan2552/projects/my_project/MyProject/App/AppDelegate.swift --offset 41
I get a proper result back.
Any ideas what I might be doing wrong?
Contents off AppDelegate.swift:
import Foundation
let str = "hello"
str.
I installed SourceKittenDaemon by cloning and
make installstart:
Getting a list of files works ok.
If I do the following request:
I get an empty collection as the response:
When running straight from
SourceKitten(installed by homebrew) using:I get a proper result back.
Any ideas what I might be doing wrong?
Contents off
AppDelegate.swift: