File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -126,8 +126,7 @@ instance Logger.Pretty CabalAddCommandParams where
126
126
--
127
127
-- Returns disabled action if no cabal files given.
128
128
--
129
- -- Takes haskell file (source of diagnostics) and
130
- -- cabal file (the file that will be edited) paths to create a relative path
129
+ -- Takes haskell file and cabal file paths to create a relative path
131
130
-- to the haskell file, which is used to get a `BuildTarget`.
132
131
--
133
132
-- In current implementation the dependency is being added to the main found
@@ -138,8 +137,8 @@ addDependencySuggestCodeAction
138
137
-> PluginId
139
138
-> VersionedTextDocumentIdentifier -- ^ Cabal's versioned text identifier
140
139
-> [(T. Text , T. Text )] -- ^ A dependency-version suggestion pairs
141
- -> FilePath -- ^ Path to the haskell file
142
- -> FilePath -- ^ Path to the cabal file
140
+ -> FilePath -- ^ Path to the haskell file (source of diagnostics)
141
+ -> FilePath -- ^ Path to the cabal file (that will be edited)
143
142
-> GenericPackageDescription
144
143
-> IO [CodeAction ]
145
144
addDependencySuggestCodeAction recorder plId verTxtDocId suggestions haskellFilePath cabalFilePath gpd = do
You can’t perform that action at this time.
0 commit comments