Skip to content

Commit 7562924

Browse files
committed
Removed tracing, fixed documentation
1 parent 8f80f9a commit 7562924

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

plugins/default/src/Ide/Plugin/ModuleName.hs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@
55
{-# LANGUAGE RecordWildCards #-}
66
{-# LANGUAGE ScopedTypeVariables #-}
77

8-
-- |Keep the module name in sync with its file path.
8+
{-| 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+
-}
914
module Ide.Plugin.ModuleName
1015

1116
( descriptor
@@ -153,5 +158,5 @@ asTextEdits :: Action -> [TextEdit]
153158
asTextEdits Action{..} = [TextEdit aRange aCode]
154159

155160
out :: [String] -> IO ()
156-
out = print . unwords . ("Plugin ModuleName " :)
157-
-- out _ = return ()
161+
-- out = print . unwords . ("Plugin ModuleName " :)
162+
out _ = return ()

0 commit comments

Comments
 (0)