mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Use buildTarget/inverseSources from BSP to get targets of a source file
This commit is contained in:
@@ -128,8 +128,8 @@ extension CompilationDatabaseBuildSystem: BuiltInBuildSystem {
|
||||
return nil
|
||||
}
|
||||
|
||||
package func targets(for document: DocumentURI) async -> [BuildTargetIdentifier] {
|
||||
return [BuildTargetIdentifier.dummy]
|
||||
package func inverseSources(_ request: InverseSourcesRequest) -> InverseSourcesResponse {
|
||||
return InverseSourcesResponse(targets: [BuildTargetIdentifier.dummy])
|
||||
}
|
||||
|
||||
package func prepare(
|
||||
|
||||
Reference in New Issue
Block a user