mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Remove registerForChangeNotifications
This was only really used for the legacy BSP integration, which we are phasing out in favor of the new `SourceKitOptions` request.
This commit is contained in:
@@ -145,18 +145,6 @@ package protocol BuiltInBuildSystem: AnyObject, Sendable {
|
||||
/// If `nil` is returned, then the default toolchain for the given language is used.
|
||||
func toolchain(for uri: DocumentURI, _ language: Language) async -> Toolchain?
|
||||
|
||||
/// Register the given file for build-system level change notifications, such
|
||||
/// as command line flag changes, dependency changes, etc.
|
||||
///
|
||||
/// IMPORTANT: When first receiving a register request, the `BuildSystem` MUST asynchronously
|
||||
/// inform its delegate of any initial settings for the given file via the
|
||||
/// `fileBuildSettingsChanged` method, even if unavailable.
|
||||
func registerForChangeNotifications(for: DocumentURI) async
|
||||
|
||||
/// Unregister the given file for build-system level change notifications,
|
||||
/// such as command line flag changes, dependency changes, etc.
|
||||
func unregisterForChangeNotifications(for: DocumentURI) async
|
||||
|
||||
/// Called when files in the project change.
|
||||
func didChangeWatchedFiles(notification: BuildServerProtocol.DidChangeWatchedFilesNotification) async
|
||||
|
||||
|
||||
Reference in New Issue
Block a user