sourcekit-lsp
sourcekit-lsp copied to clipboard
Add Code Action Add Missing Method Implementations
Add Objective-C Method Implementation CodeActions
Problem
SourceKit-LSP provides code actions for Swift incomplete implementations but lacks this for Objective-C files. Xcode offers this functionality natively, and SourceKit-LSP should match this developer experience.
Current State
- Basic
AddMethodImplementationinfrastructure exists inSources/SwiftLanguageService/CodeActions/AddMethodImplementation.swift - Connected to main service but returns empty arrays (incomplete implementation)
- No Objective-C specific parsing or method stub generation
Fixes: https://github.com/swiftlang/sourcekit-lsp/issues/2186