mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Instead of having FileHandlingCapability for a source file, check if it belongs to any targets
This commit is contained in:
@@ -102,14 +102,6 @@ package actor TestBuildSystem: BuiltInBuildSystem {
|
||||
|
||||
package func didChangeWatchedFiles(notification: BuildServerProtocol.DidChangeWatchedFilesNotification) async {}
|
||||
|
||||
package func fileHandlingCapability(for uri: DocumentURI) -> FileHandlingCapability {
|
||||
if buildSettingsByFile[uri] != nil {
|
||||
return .handled
|
||||
} else {
|
||||
return .unhandled
|
||||
}
|
||||
}
|
||||
|
||||
package func sourceFiles() async -> [SourceFileInfo] {
|
||||
return []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user