File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Sources/CodeEditSourceEditor/CodeSuggestion Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 66//
77
88import AppKit
9- import LanguageServerProtocol
109
1110/// Represents an item that can be displayed in the code suggestion view
1211public protocol CodeSuggestionEntry {
@@ -25,7 +24,7 @@ public final class SuggestionController: NSWindowController {
2524 }
2625
2726 /// The items to be displayed in the window
28- public var items : [ CompletionItem ] = [ ] {
27+ public var items : [ CodeSuggestionEntry ] = [ ] {
2928 didSet { onItemsUpdated ( ) }
3029 }
3130
Original file line number Diff line number Diff line change 55// Created by Abe Malla on 12/26/24.
66//
77
8- import LanguageServerProtocol
9-
108public protocol SuggestionControllerDelegate : AnyObject {
11- func applyCompletionItem( item: CompletionItem )
9+ func applyCompletionItem( item: CodeSuggestionEntry )
1210 func onClose( )
1311 func onCompletion( )
1412 func onCursorMove( )
15- func onItemSelect( item: CompletionItem )
13+ func onItemSelect( item: CodeSuggestionEntry )
1614}
You can’t perform that action at this time.
0 commit comments