You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to figure out how to use sourcekitten to parse an app's source and provide useful code completions. I found an old issue (#113) but I'm not sure it's still relevant. Here's what I'm trying (copied from an old post that referenced issue 113, https://forums.swift.org/t/sorting-filtering-results/12588):
The good news is it doesn't return nothing, but it doesn't return what I expected either. I was hoping it'd return something that indicates UR could be completed with URI from the Foundation module. Am I doing something wrong, and/or are most of the completions still handled by Xcode itself?
I'm running this on Linux. I'm on sourcekitten version 0.34.1 and my toolchain is Swift version 5.9.1-RELEASE.
The text was updated successfully, but these errors were encountered:
As I mentioned in the Swift forums thread, SourceKit's API for completions is really counter-intuitive. Maybe asking the folks who work on SourceKit at Apple will lead you to a more satisfying solution.
I'm trying to figure out how to use sourcekitten to parse an app's source and provide useful code completions. I found an old issue (#113) but I'm not sure it's still relevant. Here's what I'm trying (copied from an old post that referenced issue 113, https://forums.swift.org/t/sorting-filtering-results/12588):
The good news is it doesn't return nothing, but it doesn't return what I expected either. I was hoping it'd return something that indicates
UR
could be completed withURI
from theFoundation
module. Am I doing something wrong, and/or are most of the completions still handled by Xcode itself?I'm running this on Linux. I'm on sourcekitten version 0.34.1 and my toolchain is Swift version 5.9.1-RELEASE.
The text was updated successfully, but these errors were encountered: