SourceKitten
SourceKitten copied to clipboard
An adorable little framework and command line tool for interacting with SourceKit.
(e: hit the button too soon...) Main thing is that SwiftPM's yaml file changed format which needs some actual coding. Fixture updates minimal: cursorinfo * Replacement of `Foo.Protocol` with `Foo.Type`...
Regarding this sentence, 'Run swift build in the root directory of this project.' ’I didn't understand the installation method in your document. Is there anyone who can help
This lower version number is preventing packages from using [SwiftLint](https://github.com/realm/SwiftLint) and the [Swift OpenAPI Generator](https://github.com/apple/swift-openapi-generator) in the same package.
I have a `main.swfit` swift file like below: ``` import Foundation func functest() { print(123) } ``` I can use sourcekitten structure to get function names: ``` sourcekitten structure --file...
I recently tried running SwiftLint with `--fix --format` and saw that it removed thousands of whitespace only lines. It'd be great if the options could mirror the options available in...
MacOS Catalyst is an iOS target that runs on MacOS. Enhancing this call so the SwiftLint Plugin will work on a catalyst build target
https://github.com/jpsim/SourceKitten/issues/738
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 (https://github.com/jpsim/SourceKitten/issues/113) but I'm not sure it's...
I tried the complete version from documentation but with my current SDK. `sourcekitten complete --text "import UIKit ; UIColor." --offset 22 -- -target arm64-apple-ios16.0-simulator -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk` :0: warning: using sysroot...
When I try to run a request and the file contains imports of a 3rd party Swift package: ``` key.request: source.request.indexsource key.sourcefile: "ViewController.swift" key.compilerargs: - "-sdk" - "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk" - "-target"...