Summary: 78 instances, 55 unique Text Count // TODO: It should not be necessary to reload the entire package just to get build settings for one file. 1 return .method // FIXME: is there a better choice? 1 // FIXME: SourceKit should probably cache this for us 1 // FIXME: keep the FileHandle alive until we close the connection to 1 return .typeParameter // FIXME: is there a better choice? 1 // FIXME: keep the pipes alive until we close the connection. This 1 // TODO: Rename. 1 // FIXME: graceful shutdown? 2 // TODO: implement 1 // TODO: this is not completely portable, e.g. MacOS 9 HFS paths are 1 // TODO: do something with these changes once build target support is in place 1 // FIXME: We assume that clangd will return the same capabilites after restarting. 1 // TODO: Support for build targets 1 //TODO: If there's support for several types of commands, we might need to structure this similarly to the code actions request. 1 // FIXME: even if trigger kind is not from incomplete, we could to detect a compatible 1 // FIXME: this is re-implementing llbuild's constructCommandLineArgs. 1 // FIXME: we need to convert the utf8/utf16 column, which may require reading the file! 1 // FIXME: this is a workaround for clangd not respecting the compilation 1 // FIXME: Ideally we could log the request key here at the info level but the dictionary is 1 // FIXME: cancellation 8 // FIXME: doing trial deserialization only works if we have at least one non-optional unique 1 // FIXME: this is re-implementing things from swiftpm's createClangCompileTarget 1 // FIXME: SourceKit should probably cache this for us. 2 // FIXME: keep the pipes alive until we close the connection. This 2 // FIXME: Assertion for prefix of snapshot matching what we started with. 1 // FIXME: closure parameters would go here. 1 // FIXME: we need to stop threading the language everywhere, or we need the build system 1 // FIXME: a fixme 1 // FIXME: is it safe to dlclose() sourcekitd? If so, do that here. For now, let the handle leak. 1 // FIXME: overrided method logic 1 // FIXME: data 1 // FIXME: Currently a Swift-specific, non-standard request. 1 // FIXME: implement semantic tokens delta support. 1 // FIXME: The clang workspace can probably be reworked to support non-file URIs. 1 // FIXME: ideally we wouldn't need separate management from a parent server in the same process. 1 // FIXME: Once we have cancellation support, we should fetch all results and take the top 1 // FIXME: a lot of duplication with definition request 2 // FIXME: cancellation 4 // FIXME: Consider debouncing/limiting this, seems to trigger often during a build. 1 // FIXME: this assumes that the diagnostics are all in the same file. 1 // 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. 1 // FIXME: attempt recovery? 1 // FIXME: store the server capabilities. 1 // FIXME: is there a preferred target? 2 // FIXME: what is this? 2 // FIXME: SourceKit should probably cache this for us. 3 // FIXME: what should we do if we no longer have valid build settings? 1 // FIXME: Instead of making all of these optional, provide default values and make the deserialization handle missing values. 2 // FIXME: we need to convert the utf8/utf16 column, which may require reading the file! 3 return .value // FIXME: is there a better choice? 1 // FIXME: keep the pipes alive until we close the connection. This 3 // FIXME: Use Bundle.module.resourceURL once the fix for SR-12912 is released. 1 // FIXME: we should keep a real queue and cancel previous updates. 1 // FIXME: public var experimental: Any? 1 // FIXME: use a better algorithm (e.g. Boyer-Moore-Horspool). 1