@@ -89,7 +89,6 @@ import System.IO (hPutStrLn, hSetEncoding, stderr, stdout, utf8)
89
89
import System.Time.Extra (offsetTime , showDuration )
90
90
import Text.Printf (printf )
91
91
import qualified Development.IDE.Plugin.HLS.GhcIde as Ghcide
92
- import Ide.Version (findProgramVersions , showProgramVersionOfInterest )
93
92
94
93
data Arguments = Arguments
95
94
{ argsOTMemoryProfiling :: Bool
@@ -143,6 +142,8 @@ defaultMain Arguments{..} = do
143
142
case argFiles of
144
143
Nothing -> do
145
144
t <- offsetTime
145
+ hPutStrLn stderr " Starting LSP server..."
146
+ hPutStrLn stderr " If you are seeing this in a terminal, you probably should have run ghcide WITHOUT the --lsp option!"
146
147
runLanguageServer options (pluginHandler plugins) onInitialConfiguration onConfigurationChange $ \ getLspId event vfs caps wProg wIndefProg getConfig rootPath -> do
147
148
t <- t
148
149
hPutStrLn stderr $ " Started LSP server in " ++ showDuration t
@@ -182,12 +183,8 @@ defaultMain Arguments{..} = do
182
183
hSetEncoding stdout utf8
183
184
hSetEncoding stderr utf8
184
185
185
- putStrLn $ " HLS setup tester in " ++ dir ++ " ."
186
+ putStrLn $ " ghcide setup tester in " ++ dir ++ " ."
186
187
putStrLn " Report bugs at https://github.com/haskell/haskell-language-server/issues"
187
- programsOfInterest <- findProgramVersions
188
- putStrLn " "
189
- putStrLn " Tool versions found on the $PATH"
190
- putStrLn $ showProgramVersionOfInterest programsOfInterest
191
188
192
189
putStrLn $ " \n Step 1/4: Finding files to test in " ++ dir
193
190
files <- expandFiles (argFiles ++ [" ." | null argFiles])
0 commit comments