sourcekit-lsp icon indicating copy to clipboard operation
sourcekit-lsp copied to clipboard

Add Code Action Add Missing Method Implementations

Open amanmaurya92 opened this issue 11 months ago • 0 comments

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 AddMethodImplementation infrastructure exists in Sources/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

amanmaurya92 avatar Dec 20 '25 12:12 amanmaurya92