Skip to content

Commit 60f776a

Browse files
committed
docs update
1 parent 4f3171d commit 60f776a

File tree

1 file changed

+1
-8
lines changed
  • plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal

1 file changed

+1
-8
lines changed

plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal/CabalAdd.hs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,7 @@ instance Pretty CabalAddCommandParams where
121121
-- | Creates a code action that calls the `cabalAddCommand`,
122122
-- using dependency-version suggestion pairs as input.
123123
--
124-
-- Returns disabled action if no cabal files given.
125-
--
126-
-- Takes haskell file and cabal file paths to create a relative path
127-
-- to the haskell file, which is used to get a `BuildTarget`.
128-
--
129-
-- In current implementation the dependency is being added to the main found
130-
-- build target, but if there will be a way to get all build targets from a file
131-
-- it will be possible to support addition to a build target of choice.
124+
-- Gives a code action for all found build targets.
132125
addDependencySuggestCodeAction
133126
:: PluginId
134127
-> VersionedTextDocumentIdentifier -- ^ Cabal's versioned text identifier

0 commit comments

Comments
 (0)