mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Merge pull request #2038 from ahoppen/multi-target-support
Support indexing a file in the context of multiple targets
This commit is contained in:
@@ -84,8 +84,6 @@ package actor FixedCompilationDatabaseBuildSystem: BuiltInBuildSystem {
|
||||
return WorkspaceBuildTargetsResponse(targets: [
|
||||
BuildTarget(
|
||||
id: .dummy,
|
||||
displayName: nil,
|
||||
baseDirectory: nil,
|
||||
tags: [.test],
|
||||
capabilities: BuildTargetCapabilities(),
|
||||
// Be conservative with the languages that might be used in the target. SourceKit-LSP doesn't use this property.
|
||||
@@ -117,12 +115,6 @@ package actor FixedCompilationDatabaseBuildSystem: BuiltInBuildSystem {
|
||||
throw ResponseError.methodNotFound(BuildTargetPrepareRequest.method)
|
||||
}
|
||||
|
||||
package func buildTargetOutputPaths(
|
||||
request: BuildTargetOutputPathsRequest
|
||||
) async throws -> BuildTargetOutputPathsResponse {
|
||||
throw ResponseError.methodNotFound(BuildTargetOutputPathsRequest.method)
|
||||
}
|
||||
|
||||
package func sourceKitOptions(
|
||||
request: TextDocumentSourceKitOptionsRequest
|
||||
) async throws -> TextDocumentSourceKitOptionsResponse? {
|
||||
|
||||
Reference in New Issue
Block a user