on master help sign in
Expose codeAction and codeLens providers for haskell-language-server (#499)
116a5baAlan Zimmerman
ghcide.cabal+1−1
@@ -114,6 +114,7 @@ library
114 Development.IDE.Import.DependencyInformation
114 Development.IDE.Import.DependencyInformation
115 Development.IDE.LSP.HoverDefinition
115 Development.IDE.LSP.HoverDefinition
116 Development.IDE.LSP.LanguageServer
116 Development.IDE.LSP.LanguageServer
117+ Development.IDE.LSP.Outline
117 Development.IDE.LSP.Protocol
118 Development.IDE.LSP.Protocol
118 Development.IDE.LSP.Server
119 Development.IDE.LSP.Server
119 Development.IDE.Spans.Common
120 Development.IDE.Spans.Common
@@ -134,7 +135,6 @@ library
134 Development.IDE.GHC.Warnings
135 Development.IDE.GHC.Warnings
135 Development.IDE.Import.FindImports
136 Development.IDE.Import.FindImports
136 Development.IDE.LSP.Notifications
137 Development.IDE.LSP.Notifications
137− Development.IDE.LSP.Outline
138 Development.IDE.Spans.AtPoint
138 Development.IDE.Spans.AtPoint
139 Development.IDE.Spans.Calculate
139 Development.IDE.Spans.Calculate
140 Development.IDE.Spans.Documentation
140 Development.IDE.Spans.Documentation
src/Development/IDE/LSP/Outline.hs+2
@@ -4,6 +4,8 @@
4
4
5module Development.IDE.LSP.Outline
5module Development.IDE.LSP.Outline
6 ( setHandlersOutline
6 ( setHandlersOutline
7+ -- * For haskell-language-server
8+ , moduleOutline
7 )
9 )
8where
10where
9
11
src/Development/IDE/Plugin/CodeAction.hs+9−1
@@ -6,7 +6,15 @@
6#include "ghc-api-version.h"
6#include "ghc-api-version.h"
7
7
8-- | Go to the definition of a variable.
8-- | Go to the definition of a variable.
9−module Development.IDE.Plugin.CodeAction(plugin) where
9+module Development.IDE.Plugin.CodeAction
10+ (
11+ plugin
12+
13+ -- * For haskell-language-server
14+ , codeAction
15+ , codeLens
16+ , rulePackageExports
17+ ) where
10
18
11import Language.Haskell.LSP.Types
19import Language.Haskell.LSP.Types
12import Control.Monad (join)
20import Control.Monad (join)