mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Introduce a BuiltInBuildSystemAdapter that can be used to transition BuildSystem to a type that implements BSP
This commit is contained in:
@@ -119,6 +119,11 @@ package protocol BuiltInBuildSystem: AnyObject, Sendable {
|
||||
/// context.
|
||||
func setDelegate(_ delegate: BuildSystemDelegate?) async
|
||||
|
||||
/// Set the message handler that is used to send messages from the build system to SourceKit-LSP.
|
||||
// FIXME: (BSP Migration) This should be set in the initializer but can't right now because BuiltInBuildSystemAdapter is not
|
||||
// responsible for creating the build system.
|
||||
func setMessageHandler(_ messageHandler: BuiltInBuildSystemMessageHandler) async
|
||||
|
||||
/// Whether the build system is capable of preparing a target for indexing, ie. if the `prepare` methods has been
|
||||
/// implemented.
|
||||
var supportsPreparation: Bool { get }
|
||||
|
||||
Reference in New Issue
Block a user