Files
swift-mirror/test/SourceKit/CodeComplete/complete_constructor.swift.response
Alex Hoppen 7ce41252e7 [SourceKit] Print compilerargs and sourcetext keys last
That way, when the request gets truncated by os_log in sourcekit-lsp, we see most of the request. Most likely the sourcetext and the compiler args wouldn't have made it into the log message completely anyway.

rdar://121322828
2024-02-29 20:45:55 -08:00

17 lines
551 B
Plaintext

{
key.results: [
{
key.kind: source.lang.swift.decl.function.constructor,
key.name: "arg1:arg2:",
key.description: "(arg1: Int, arg2: Int)",
key.typename: "Foo",
key.context: source.codecompletion.context.thisclass,
key.typerelation: source.codecompletion.typerelation.unknown,
key.num_bytes_to_erase: 0,
key.associated_usrs: "s:20complete_constructor3FooC4arg14arg2ACSi_Sitcfc",
key.modulename: "complete_constructor",
key.sourcetext: "arg1: <#T##Int#>, arg2: <#T##Int#>"
}
]
}