Skip to content

Commit ff8eb2a

Browse files
committed
Remove no longer needed cancel handler
1 parent 910211e commit ff8eb2a

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

src/languageserverinstance.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,6 @@ function Base.run(server::LanguageServerInstance; timings = [])
420420
msg_dispatcher[initialize_request_type] = request_wrapper(initialize_request, server)
421421
msg_dispatcher[initialized_notification_type] = notification_wrapper(initialized_notification, server)
422422
msg_dispatcher[shutdown_request_type] = request_wrapper(shutdown_request, server)
423-
msg_dispatcher[cancel_notification_type] = notification_wrapper(cancel_notification, server)
424423
msg_dispatcher[setTrace_notification_type] = notification_wrapper(setTrace_notification, server)
425424
msg_dispatcher[setTraceNotification_notification_type] = notification_wrapper(setTraceNotification_notification, server)
426425
msg_dispatcher[julia_getCurrentBlockRange_request_type] = request_wrapper(julia_getCurrentBlockRange_request, server)

src/protocol/messagedefs.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ const shutdown_request_type = JSONRPC.RequestType("shutdown", Nothing, Nothing)
3737
const exit_notification_type = JSONRPC.NotificationType("exit", Nothing)
3838
const client_registerCapability_request_type = JSONRPC.RequestType("client/registerCapability", RegistrationParams, Nothing)
3939

40-
const cancel_notification_type = JSONRPC.NotificationType("\$/cancelRequest", CancelParams)
4140
const setTrace_notification_type = JSONRPC.NotificationType("\$/setTrace", SetTraceParams)
4241
# TODO This seems to not exist in the spec?
4342
const setTraceNotification_notification_type = JSONRPC.NotificationType("\$/setTraceNotification", Nothing)

src/requests/misc.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
function cancel_notification(params::CancelParams, server::LanguageServerInstance, conn)
2-
end
3-
41
function setTrace_notification(params::SetTraceParams, server::LanguageServerInstance, conn)
52
end
63

0 commit comments

Comments
 (0)