Skip to content

Empty complete response #52

@Dan2552

Description

@Dan2552

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions