@@ -625,6 +625,9 @@ instance PluginMethod Request Method_WorkspaceExecuteCommand where
625625instance PluginMethod Request (Method_CustomMethod m ) where
626626 handlesRequest _ _ _ _ _ = HandlesRequest
627627
628+ instance PluginMethod Request Method_WorkspaceWillRenameFiles where
629+ handlesRequest _ _ _ desc conf = pluginEnabledGlobally desc conf
630+
628631-- Plugin Notifications
629632
630633instance PluginMethod Notification Method_TextDocumentDidOpen where
@@ -647,6 +650,15 @@ instance PluginMethod Notification Method_WorkspaceDidChangeConfiguration where
647650 -- This method has no URI parameter, thus no call to 'pluginResponsible'.
648651 handlesRequest _ _ _ desc conf = pluginEnabledGlobally desc conf
649652
653+ instance PluginMethod Notification Method_WorkspaceDidDeleteFiles where
654+ handlesRequest _ _ _ desc conf = pluginEnabledGlobally desc conf
655+
656+ instance PluginMethod Notification Method_WorkspaceDidRenameFiles where
657+ handlesRequest _ _ _ desc conf = pluginEnabledGlobally desc conf
658+
659+ instance PluginMethod Notification Method_WorkspaceDidCreateFiles where
660+ handlesRequest _ _ _ desc conf = pluginEnabledGlobally desc conf
661+
650662instance PluginMethod Notification Method_Initialized where
651663 -- This method has no URI parameter, thus no call to 'pluginResponsible'.
652664 handlesRequest _ _ _ desc conf = pluginEnabledGlobally desc conf
@@ -856,6 +868,8 @@ instance PluginRequestMethod Method_TextDocumentSemanticTokensFullDelta where
856868instance PluginRequestMethod Method_TextDocumentInlayHint where
857869 combineResponses _ _ _ _ x = sconcat x
858870
871+ instance PluginRequestMethod Method_WorkspaceWillRenameFiles where
872+
859873takeLefts :: [a |? b ] -> [a ]
860874takeLefts = mapMaybe (\ x -> [res | (InL res) <- Just x])
861875
@@ -927,6 +941,12 @@ instance PluginNotificationMethod Method_WorkspaceDidChangeConfiguration where
927941
928942instance PluginNotificationMethod Method_Initialized where
929943
944+ instance PluginNotificationMethod Method_WorkspaceDidDeleteFiles where
945+
946+ instance PluginNotificationMethod Method_WorkspaceDidCreateFiles where
947+
948+ instance PluginNotificationMethod Method_WorkspaceDidRenameFiles where
949+
930950-- ---------------------------------------------------------------------
931951
932952-- | Methods which have a PluginMethod instance
@@ -1257,6 +1277,9 @@ instance HasTracing CompletionItem
12571277instance HasTracing DocumentLink
12581278instance HasTracing InlayHint
12591279instance HasTracing WorkspaceSymbol
1280+ instance HasTracing RenameFilesParams
1281+ instance HasTracing DeleteFilesParams
1282+ instance HasTracing CreateFilesParams
12601283-- ---------------------------------------------------------------------
12611284-- Experimental resolve refactoring
12621285{-# NOINLINE pROCESS_ID #-}
0 commit comments