Skip to content

Commit

Permalink
docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
VenInf committed Aug 30, 2024
1 parent 4f3171d commit 60f776a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal/CabalAdd.hs
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,7 @@ instance Pretty CabalAddCommandParams where
-- | Creates a code action that calls the `cabalAddCommand`,
-- using dependency-version suggestion pairs as input.
--
-- Returns disabled action if no cabal files given.
--
-- Takes haskell file and cabal file paths to create a relative path
-- to the haskell file, which is used to get a `BuildTarget`.
--
-- In current implementation the dependency is being added to the main found
-- build target, but if there will be a way to get all build targets from a file
-- it will be possible to support addition to a build target of choice.
-- Gives a code action for all found build targets.
addDependencySuggestCodeAction
:: PluginId
-> VersionedTextDocumentIdentifier -- ^ Cabal's versioned text identifier
Expand Down

0 comments on commit 60f776a

Please sign in to comment.