File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -121,14 +121,7 @@ instance Pretty CabalAddCommandParams where
121
121
-- | Creates a code action that calls the `cabalAddCommand`,
122
122
-- using dependency-version suggestion pairs as input.
123
123
--
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.
132
125
addDependencySuggestCodeAction
133
126
:: PluginId
134
127
-> VersionedTextDocumentIdentifier -- ^ Cabal's versioned text identifier
You can’t perform that action at this time.
0 commit comments