File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,11 @@ packages:
66 ./ghcide
77 ./hls-plugin-api
88 ./hls-test-utils
9- ../cabal-add
109
10+ source-repository-package
11+ type : git
12+ location : https://github.com/Bodigrim/cabal-add.git
13+ tag : 83de92dcce6221d66bdedca0b462fedd3b06afce
1114
1215index-state : 2025-05-12T13:26 :29Z
1316
Original file line number Diff line number Diff line change @@ -19,16 +19,14 @@ import Ide.Plugin.Cabal.Orphans ()
1919import Language.LSP.Protocol.Types
2020
2121data Log
22- = LogFoundResponsibleCabalFile FilePath
23- | LogCalledCabalAddPackageCommand CabalAddPackageCommandParams
22+ = LogCalledCabalAddPackageCommand CabalAddPackageCommandParams
2423 | LogCalledCabalAddModuleCommand ModuleInsertionConfig
2524 | LogCreatedEdit WorkspaceEdit
2625 | LogExecutedCommand
2726 deriving (Show )
2827
2928instance Pretty Log where
3029 pretty = \ case
31- LogFoundResponsibleCabalFile fp -> " Located the responsible cabal file at " <+> pretty fp
3230 LogCalledCabalAddPackageCommand params -> " Called CabalAddPackage command with:\n " <+> pretty params
3331 LogCalledCabalAddModuleCommand params -> " Called CabalAddModule command with:\n " <+> pretty params
3432 LogCreatedEdit edit -> " Created inplace edit:\n " <+> pretty edit
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ data Log
3535 = LogModificationTime NormalizedFilePath FileVersion
3636 | LogShake Shake. Log
3737 | LogOfInterest OfInterest. Log
38- | LogDocSaved Uri
3938 deriving (Show )
4039
4140instance Pretty Log where
@@ -44,8 +43,6 @@ instance Pretty Log where
4443 LogOfInterest log' -> pretty log'
4544 LogModificationTime nfp modTime ->
4645 " Modified:" <+> pretty (fromNormalizedFilePath nfp) <+> pretty (show modTime)
47- LogDocSaved uri ->
48- " Saved text document:" <+> pretty (getUri uri)
4946
5047cabalRules :: Recorder (WithPriority Log ) -> PluginId -> Rules ()
5148cabalRules recorder plId = do
You can’t perform that action at this time.
0 commit comments