We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f80f9a commit 7562924Copy full SHA for 7562924
plugins/default/src/Ide/Plugin/ModuleName.hs
@@ -5,7 +5,12 @@
5
{-# LANGUAGE RecordWildCards #-}
6
{-# LANGUAGE ScopedTypeVariables #-}
7
8
--- |Keep the module name in sync with its file path.
+{-| Keep the module name in sync with its file path.
9
+
10
+Provide CodeLenses to:
11
+* Add a module header ('module <moduleName> where") to empty Haskell files
12
+* Fix the mdule name if incorrect
13
+-}
14
module Ide.Plugin.ModuleName
15
16
( descriptor
@@ -153,5 +158,5 @@ asTextEdits :: Action -> [TextEdit]
153
158
asTextEdits Action{..} = [TextEdit aRange aCode]
154
159
155
160
out :: [String] -> IO ()
156
-out = print . unwords . ("Plugin ModuleName " :)
157
--- out _ = return ()
161
+-- out = print . unwords . ("Plugin ModuleName " :)
162
+out _ = return ()
0 commit comments