Skip to content

Commit b52ee60

Browse files
serrascocreature
authored andcommitted
[WIP] Completion support (#227)
* Initial implementation of completion support * Add fuzzy to set of additional dependencies in 8.8 * Fix test * Work a bit more on completion * Attempt at getting completions from last good tckd module * Revert "Attempt at getting completions from last good tckd module" This reverts commit 04ca13b9d831eaaf013239cd8cbc49ea284b6de1. * "useWithStale" everywhere * Some suggestions by @cocreature * Adjust positions in the document * Start working on tests * Fix compilation problem * Fix tests * Better type tests
1 parent 70cb92c commit b52ee60

File tree

12 files changed

+757
-1
lines changed

12 files changed

+757
-1
lines changed

ghcide.cabal

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ library
3939
deepseq,
4040
directory,
4141
extra,
42+
fuzzy,
4243
filepath,
4344
hashable,
4445
haskell-lsp-types == 0.19.*,
@@ -96,6 +97,8 @@ library
9697
include-dirs:
9798
include
9899
exposed-modules:
100+
Development.IDE.Core.Completions
101+
Development.IDE.Core.CompletionsTypes
99102
Development.IDE.Core.FileStore
100103
Development.IDE.Core.OfInterest
101104
Development.IDE.Core.PositionMapping
@@ -123,6 +126,7 @@ library
123126
Development.IDE.GHC.Warnings
124127
Development.IDE.Import.FindImports
125128
Development.IDE.LSP.CodeAction
129+
Development.IDE.LSP.Completions
126130
Development.IDE.LSP.HoverDefinition
127131
Development.IDE.LSP.Notifications
128132
Development.IDE.Spans.AtPoint
@@ -180,6 +184,7 @@ test-suite ghcide-tests
180184
ghcide:ghcide,
181185
ghcide:ghcide-test-preprocessor
182186
build-depends:
187+
aeson,
183188
base,
184189
bytestring,
185190
containers,

0 commit comments

Comments
 (0)