[swift-dev] autocompletions for local variables

Mansimar Kaur mansimar at hackerrank.com
Mon Jul 24 03:44:59 CDT 2017


Hi

Sourckitten ( https://github.com/jpsim/SourceKitten ) uses Sourcekitd to
provide autocompletions.

When trying to generate autocompletions for local variables: wi
let hello = 5;hell with offset 14

The autocompletions generated are 344 in number and only one of the
returned results even starts with 'h'.

Why are wrong autocompletions being generated alongwith only one correct
one?

For more context, please take a look at this issue:
https://github.com/jpsim/SourceKitten/issues/406

Thanks
Mansimar Kaur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20170724/e30db1ec/attachment.html>


More information about the swift-dev mailing list