Skip to content

Commit 0627a8a

Browse files
committed
refactor(lsp): remove unused LSP and Copilot wire types
1 parent 2b19074 commit 0627a8a

1 file changed

Lines changed: 0 additions & 32 deletions

File tree

TablePro/Core/LSP/LSPTypes.swift

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,6 @@ struct LSPInlineCompletionParams: Codable, Sendable, Equatable {
6969
let formattingOptions: LSPFormattingOptions
7070
}
7171

72-
struct LSPDidShowCompletionParams: Codable, Sendable {
73-
let textDocument: LSPTextDocumentIdentifier
74-
let items: [LSPInlineCompletionItem]
75-
}
76-
7772
struct LSPClientInfo: Codable, Sendable, Equatable {
7873
let name: String
7974
let version: String
@@ -149,17 +144,6 @@ struct LSPJSONRPCNotification<P: Encodable>: Encodable {
149144
let params: P?
150145
}
151146

152-
struct LSPJSONRPCResponse<R: Decodable>: Decodable {
153-
let id: Int?
154-
let result: R?
155-
let error: LSPJSONRPCError?
156-
}
157-
158-
struct LSPJSONRPCError: Decodable, Sendable {
159-
let code: Int
160-
let message: String
161-
}
162-
163147
// MARK: - Copilot Conversation Types
164148

165149
struct CopilotConversationTurn: Codable, Sendable {
@@ -261,22 +245,6 @@ struct CopilotConversationTurnDeleteParams: Codable, Sendable {
261245
let source: String
262246
}
263247

264-
struct CopilotProgressParams: Codable, Sendable {
265-
let token: String
266-
let value: CopilotProgressValue
267-
}
268-
269-
struct CopilotProgressValue: Codable, Sendable {
270-
let kind: String
271-
let title: String?
272-
let reply: String?
273-
let result: CopilotProgressResult?
274-
}
275-
276-
struct CopilotProgressResult: Codable, Sendable {
277-
let followUp: String?
278-
}
279-
280248
struct CopilotModel: Codable, Sendable {
281249
let id: String
282250
let modelFamily: String?

0 commit comments

Comments
 (0)