SourceKitten
SourceKitten copied to clipboard
An adorable little framework and command line tool for interacting with SourceKit.
Hello, LINUX_SOURCEKIT_LIB_PATH needs to be set to `/usr/share/swift/usr/lib` on GitHub's `ubuntu-18.04` for Actions. Is it ok to make a PR to add this to the search paths on Linux ?...
(Sorry if this isn't the best place for this!) I'm using SourceKittenFramework to do an indexing request on a Swift file. When that file has warnings, the SourceKit request prints...
In the link [uncovering-sourcekit](https://www.jpsim.com/uncovering-sourcekit/) that give in the README file, there is a referenced shell file in USING SOURCEKIT FROM THE COMMAND LINE chapter, that is [sourcekit_playground-sh](https://gist.github.com/jpsim/13971c81445219db1c63#file-sourcekit_playground-sh), but can not...
i have a problem when making a request using the framework: here's my code: ` let file = File(path: "/Users/username/Downloads/file.swift")! let request = SourceKittenFramework.Request.cursorInfo(file: "/Users/mostfa/Downloads/file.swift", offset: (90), arguments: [file.path!]) let...
I'm trying to document a project using SourceKitten.The project only contains a Swift file with a class that inherits from NSObject. With the terminal command: ``` sourcekitten doc -- -workspace...
If I have two variables in my class ``` let i: Int = 8 var j: Int = 8 ``` By running `structure` command, is there a way to know...
Hello everyone, Is there a way to create a document and omit certain files or folders? I need to merge several projects, each consisting of Swift and Objective-C. For documentation...
Hey, I'm maintaining `Cuckoo` and recently a bug surfaced (though it was present all this time, just under our radar) where `SourceKitten` includes the last `>` of the generic inherited...
In our SDK we have readonly property: `@property (nonatomic, readonly) NSUInteger routeRequestInterval;` and custom non-void setter in order to return some error: `-(NMANavigationError)setRouteRequestInterval:(NSUInteger)interval;` Doc is generated only for property. Setter...
> This pattern is repeated enough times to be worth a small helper. If it's internal to SourceKittenFramework we can still use it from tests by using `@testable import SourceKittenFramework`...