File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,10 @@ private func searchForCompilationDatabaseConfig(
2626 options: SourceKitLSPOptions
2727) -> BuildServerSpec ? {
2828 let searchPaths =
29- ( options. compilationDatabaseOrDefault. searchPaths ?? [ ] ) . compactMap {
30- try ? RelativePath ( validating: $0)
29+ ( options. compilationDatabaseOrDefault. searchPaths ?? [ ] ) . compactMap { searchPath in
30+ orLog ( " Compilation DB search path " ) {
31+ try RelativePath ( validating: searchPath)
32+ }
3133 } + [
3234 // These default search paths match the behavior of `clangd`
3335 try ! RelativePath ( validating: " . " ) ,
Original file line number Diff line number Diff line change @@ -912,13 +912,7 @@ extension SourceKitLSPServer {
912912 logger. log ( " Cannot open workspace before server is initialized " )
913913 throw NoCapabilityRegistryError ( )
914914 }
915- let options = SourceKitLSPOptions . merging (
916- base: self . options,
917- override: SourceKitLSPOptions (
918- path: workspaceFolder. fileURL?
919- . appending ( components: " .sourcekit-lsp " , " config.json " )
920- )
921- )
915+
922916 logger. log ( " Creating workspace at \( workspaceFolder. forLogging) " )
923917 logger. logFullObjectInMultipleLogMessages ( header: " Workspace options " , options. loggingProxy)
924918
You can’t perform that action at this time.
0 commit comments