Sources/SourceKitLSP/Swift/SwiftLanguageServer.swift (13 lines): - line 108: // FIXME: ideally we wouldn't need separate management from a parent server in the same process. - line 723: // FIXME: cancellation - line 832: // FIXME: cancellation - line 855: // FIXME: implement semantic tokens delta support. - line 908: // FIXME: SourceKit should probably cache this for us. - line 943: // FIXME: cancellation - line 1044: // FIXME: cancellation - line 1248: //TODO: If there's support for several types of commands, we might need to structure this similarly to the code actions request. - line 1295: // FIXME: cancellation - line 1350: // TODO: this is not completely portable, e.g. MacOS 9 HFS paths are - line 1455: return .typeParameter // FIXME: is there a better choice? - line 1461: return .value // FIXME: is there a better choice? - line 1463: return .method // FIXME: is there a better choice? Sources/SourceKitLSP/SourceKitServer.swift (11 lines): - line 232: // FIXME: the fact that we're looking at clangd/sourcekitd instead of the compiler indicates this method needs a parameter stating what kind of tool we're looking for. - line 314: // FIXME: store the server capabilities. - line 354: // TODO: do something with these changes once build target support is in place - line 805: // FIXME: Once we have cancellation support, we should fetch all results and take the top - line 823: // FIXME: we need to convert the utf8/utf16 column, which may require reading the file! - line 1024: // FIXME: overrided method logic - line 1034: // FIXME: we need to convert the utf8/utf16 column, which may require reading the file! - line 1047: // FIXME: a lot of duplication with definition request - line 1082: // FIXME: we need to convert the utf8/utf16 column, which may require reading the file! - line 1095: // FIXME: a lot of duplication with definition request - line 1134: // FIXME: we need to convert the utf8/utf16 column, which may require reading the file! Sources/SourceKitLSP/Clang/ClangLanguageServer.swift (6 lines): - line 126: // FIXME: keep the pipes alive until we close the connection. This - line 192: // FIXME: We assume that clangd will return the same capabilites after restarting. - line 375: // FIXME: The clang workspace can probably be reworked to support non-file URIs. - line 394: // FIXME: what should we do if we no longer have valid build settings? - line 481: // FIXME: Currently a Swift-specific, non-standard request. - line 549: // FIXME: this is a workaround for clangd not respecting the compilation Sources/SKSwiftPMWorkspace/SwiftPMWorkspace.swift (6 lines): - line 204: // FIXME: is there a preferred target? - line 215: // FIXME: is there a preferred target? - line 316: // TODO: Support for build targets - line 364: // TODO: It should not be necessary to reload the entire package just to get build settings for one file. - line 442: // FIXME: this is re-implementing llbuild's constructCommandLineArgs. - line 475: // FIXME: this is re-implementing things from swiftpm's createClangCompileTarget Sources/SourceKitLSP/Swift/CodeCompletionSession.swift (4 lines): - line 39: // FIXME: we should keep a real queue and cancel previous updates. - line 151: // FIXME: cancellation - line 162: // FIXME: Assertion for prefix of snapshot matching what we started with. - line 183: // FIXME: cancellation Sources/LanguageServerProtocol/SupportTypes/ClientCapabilities.swift (3 lines): - line 22: // FIXME: public var experimental: Any? - line 41: // FIXME: Instead of making all of these optional, provide default values and make the deserialization handle missing values. - line 149: // FIXME: Instead of making all of these optional, provide default values and make the deserialization handle missing values. Sources/LanguageServerProtocolJSONRPC/JSONRPCConnection.swift (3 lines): - line 246: // FIXME: graceful shutdown? - line 254: // FIXME: graceful shutdown? - line 348: // FIXME: attempt recovery? Sources/SourceKitLSP/Swift/CodeCompletion.swift (3 lines): - line 71: // FIXME: even if trigger kind is not from incomplete, we could to detect a compatible - line 99: // FIXME: SourceKit should probably cache this for us. - line 119: // FIXME: cancellation Sources/LanguageServerProtocol/SupportTypes/CodeActionKind.swift (2 lines): - line 37: // FIXME: what is this? - line 41: // FIXME: what is this? Sources/SourceKitLSP/Swift/SemanticRefactoring.swift (2 lines): - line 157: // FIXME: SourceKit should probably cache this for us. - line 173: // FIXME: cancellation Sources/SKTestSupport/TestServer.swift (2 lines): - line 85: // FIXME: keep the pipes alive until we close the connection. This - line 90: // FIXME: keep the pipes alive until we close the connection. This Sources/SourceKitLSP/Swift/CursorInfo.swift (2 lines): - line 100: // FIXME: SourceKit should probably cache this for us. - line 147: // FIXME: cancellation Sources/SourceKitLSP/Swift/VariableTypeInfo.swift (2 lines): - line 78: // FIXME: SourceKit should probably cache this for us - line 107: // FIXME: cancellation Sources/SKCore/BuildSystemManager.swift (2 lines): - line 371: // FIXME: we need to stop threading the language everywhere, or we need the build system - line 424: // FIXME: Consider debouncing/limiting this, seems to trigger often during a build. Sources/SourceKitLSP/Swift/ExpressionTypeInfo.swift (2 lines): - line 69: // FIXME: SourceKit should probably cache this for us. - line 98: // FIXME: cancellation Sources/LSPTestSupport/TestJSONRPCConnection.swift (2 lines): - line 46: // FIXME: keep the pipes alive until we close the connection. This - line 51: // FIXME: keep the pipes alive until we close the connection. This Sources/SKTestSupport/INPUTS/FoldingRange/FoldingRangeBase.swift (1 line): - line 35: // FIXME: a fixme Sources/sourcekit-lsp/main.swift (1 line): - line 179: // FIXME: keep the FileHandle alive until we close the connection to Sources/LanguageServerProtocol/Cancellation.swift (1 line): - line 13: // TODO: implement Sources/SourceKitLSP/Swift/Diagnostic.swift (1 line): - line 113: // FIXME: this assumes that the diagnostics are all in the same file. Sources/SourceKitLSP/Swift/SemanticRefactorCommand.swift (1 line): - line 79: // TODO: Rename. Sources/SourceKitD/SourceKitD.swift (1 line): - line 119: // FIXME: Ideally we could log the request key here at the info level but the dictionary is Sources/SourceKitLSP/Swift/CommentXML.swift (1 line): - line 123: // FIXME: closure parameters would go here. Sources/LanguageServerProtocol/SupportTypes/WorkspaceSettings.swift (1 line): - line 22: // FIXME: doing trial deserialization only works if we have at least one non-optional unique Sources/LanguageServerProtocolJSONRPC/MessageSplitting.swift (1 line): - line 98: // FIXME: use a better algorithm (e.g. Boyer-Moore-Horspool). Sources/SKTestSupport/SKTibsTestWorkspace.swift (1 line): - line 169: // FIXME: Use Bundle.module.resourceURL once the fix for SR-12912 is released. Sources/LanguageServerProtocol/Error.swift (1 line): - line 44: // FIXME: data Sources/SourceKitD/SourceKitDImpl.swift (1 line): - line 86: // FIXME: is it safe to dlclose() sourcekitd? If so, do that here. For now, let the handle leak. Sources/SKCore/BuildServerBuildSystem.swift (1 line): - line 260: // FIXME: keep the pipes alive until we close the connection. This