Chris Wendt

Results 48 comments of Chris Wendt
trafficstars

Are you referring to https://github.com/google/fonts/blob/master/tools/compare_font.py? Correct me if I'm wrong, but that script compares things like sizes of glyphs and supported subsets, and doesn't render any images. The script in...

I probably don't actually understand this much more than you do. My guess is that providing more `.swift` files to the compiler helps it find definitions of classes/structs/protocols.

I'm working on this right now. @RLovelett How did you generate that output? Did you run a sourcekitten command?

Thanks for showing how to get the logs 🙇 `symbol-occurrences` is not recognized by `sourcekitd-test`: ``` { key.request: source.request.workspace.symbol-occurrences, key.symbol: { key.indexer.arg.symbol.name: "cursor(forText:)", key.indexer.arg.symbol.kind: "Xcode.SourceCodeSymbolKind.InstanceMethod", key.indexer.arg.symbol.language: "Xcode.SourceCodeLanguage.Swift", key.indexer.arg.symbol.resolution: "s:22LanguageServerProtocol0B0C6cursorAA5HoverVAA26TextDocumentPositionParamsV03forF0_tKF" },...

I'm on Xcode 9.4 (9F1027a) which appears to be the [latest](https://xcodereleases.com/) I also did a `git log -S symbol-occurrences` in [apple/swift](https://github.com/apple/swift) and didn't find it, so it looks like it...

Hmm, the USR `s:12BaseProtocol13RequestBufferC` from `main.swift` doesn't match anything: ``` $ sourcekitten index --file /Users/chrismwendt/langserver-swift/Sources/BaseProtocol/Types/RequestBuffer.swift --compilerargs -- /Users/chrismwendt/langserver-swift/Sources/BaseProtocol/Types/RequestBuffer.swift ... "key.usr" : "s:13RequestBufferAAC" ... ``` It looks like all the USRs...

> So when you compile main.swift are you using the same module that you are sending to the index? Ah-hah! I just had to pass ALL of the Swift files...

@xhacker Does this look ready to merge?

@xhacker Want to merge this in?

@jamesdh Which GitHub API endpoint does Coveralls use to verify who you are? That will tell me what [permissions](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/authenticating-with-the-github_token#permissions-for-the-github_token) are required.