Use workspace/didChangeWatchedFiles from BSP to communicate file changes to the build system

This commit is contained in:
Alex Hoppen
2024-09-06 14:58:27 -07:00
parent b4d04ce983
commit e38d37e01c
11 changed files with 31 additions and 12 deletions

View File

@@ -199,7 +199,7 @@ package protocol BuiltInBuildSystem: AnyObject, Sendable {
func unregisterForChangeNotifications(for: DocumentURI) async
/// Called when files in the project change.
func filesDidChange(_ events: [FileEvent]) async
func didChangeWatchedFiles(notification: BuildServerProtocol.DidChangeWatchedFilesNotification) async
func fileHandlingCapability(for uri: DocumentURI) async -> FileHandlingCapability