nathankot / company-sourcekit

Completion for Swift projects via SourceKit with the help of SourceKitten
207 stars 16 forks source link

Getting same completions with different prefixes #20

Closed jojojames closed 7 years ago

jojojames commented 8 years ago

Getting same offsets (and same completions) while adding extra characters to the prefix.

Added a dropbox video.

https://dl.dropboxusercontent.com/u/11400324/Untitled.mov

import UIKit

class SentBottlesController: UIViewController {

override func loadView() {
    self.view = SentBottlesView.init()
    self.[view] <-- every letter in view returns the same completions (incorrect candidates)
}

override func viewDidLoad() {
    super.viewDidLoad()
    self.title = "Sent"
}

}

nathankot commented 7 years ago

@jojojames sorry for the slow turnaround on this, this should now be resolved by 5ab8e95 :)

jojojames commented 7 years ago

Thanks!