mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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
27 lines
878 B
Plaintext
27 lines
878 B
Plaintext
{
|
|
key.results: [
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.name: "optionalMethod()",
|
|
key.description: "optionalMethod?()",
|
|
key.typename: "Int",
|
|
key.context: source.codecompletion.context.thisclass,
|
|
key.typerelation: source.codecompletion.typerelation.unknown,
|
|
key.num_bytes_to_erase: 0,
|
|
key.associated_usrs: "c:@M@complete_optionalmethod@objc(pl)Proto(im)optionalMethod",
|
|
key.modulename: "complete_optionalmethod",
|
|
key.sourcetext: "optionalMethod?()"
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.keyword,
|
|
key.name: "self",
|
|
key.description: "self",
|
|
key.typename: "T",
|
|
key.context: source.codecompletion.context.thisclass,
|
|
key.typerelation: source.codecompletion.typerelation.unknown,
|
|
key.num_bytes_to_erase: 0,
|
|
key.sourcetext: "self"
|
|
}
|
|
]
|
|
}
|