@@ -86,13 +86,14 @@ pluginsToDefaultConfig IdePlugins {..} =
86
86
-- This function captures ide methods registered by the plugin, and then converts it to kv pairs
87
87
handlersToGenericDefaultConfig :: DSum. DSum IdeMethod f -> [A. Pair ]
88
88
handlersToGenericDefaultConfig (IdeMethod m DSum. :=> _) = case m of
89
- STextDocumentCodeAction -> [" codeActionsOn" A. .= True ]
90
- STextDocumentCodeLens -> [" codeLensOn" A. .= True ]
91
- STextDocumentRename -> [" renameOn" A. .= True ]
92
- STextDocumentHover -> [" hoverOn" A. .= True ]
93
- STextDocumentDocumentSymbol -> [" symbolsOn" A. .= True ]
94
- STextDocumentCompletion -> [" completionOn" A. .= True ]
95
- _ -> []
89
+ STextDocumentCodeAction -> [" codeActionsOn" A. .= True ]
90
+ STextDocumentCodeLens -> [" codeLensOn" A. .= True ]
91
+ STextDocumentRename -> [" renameOn" A. .= True ]
92
+ STextDocumentHover -> [" hoverOn" A. .= True ]
93
+ STextDocumentDocumentSymbol -> [" symbolsOn" A. .= True ]
94
+ STextDocumentCompletion -> [" completionOn" A. .= True ]
95
+ STextDocumentPrepareCallHierarchy -> [" callHierarchyOn" A. .= True ]
96
+ _ -> []
96
97
97
98
-- | Generates json schema used in haskell vscode extension
98
99
-- Similar to 'pluginsToDefaultConfig' but simpler, since schema has a flatten structure
@@ -121,6 +122,7 @@ pluginsToVSCodeExtensionSchema IdePlugins {..} = A.object $ mconcat $ singlePlug
121
122
STextDocumentHover -> [withIdPrefix " hoverOn" A. .= schemaEntry " hover" ]
122
123
STextDocumentDocumentSymbol -> [withIdPrefix " symbolsOn" A. .= schemaEntry " symbols" ]
123
124
STextDocumentCompletion -> [withIdPrefix " completionOn" A. .= schemaEntry " completions" ]
125
+ STextDocumentPrepareCallHierarchy -> [withIdPrefix " callHierarchyOn" A. .= schemaEntry " call hierarchy" ]
124
126
_ -> []
125
127
schemaEntry desc =
126
128
A. object
0 commit comments