File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -167,10 +167,10 @@ addDependencySuggestCodeAction plId verTxtDocId suggestions haskellFilePath caba
167
167
mkCodeAction :: FilePath -> Maybe String -> (T. Text , T. Text ) -> CodeAction
168
168
mkCodeAction cabalFilePath target (suggestedDep, suggestedVersion) =
169
169
let
170
- versionTitle = if T. null suggestedVersion then T. empty else " version " <> suggestedVersion
170
+ versionTitle = if T. null suggestedVersion then T. empty else " - " <> suggestedVersion
171
171
targetTitle = case target of
172
172
Nothing -> T. empty
173
- Just t -> " target " <> T. pack t
173
+ Just t -> " at " <> T. pack t
174
174
title = " Add dependency " <> suggestedDep <> versionTitle <> targetTitle
175
175
version = if T. null suggestedVersion then Nothing else Just suggestedVersion
176
176
You can’t perform that action at this time.
0 commit comments