Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Commit

Permalink
[WIP] Completion support (#227)
Browse files Browse the repository at this point in the history
* 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 04ca13b.

* "useWithStale" everywhere

* Some suggestions by @cocreature

* Adjust positions in the document

* Start working on tests

* Fix compilation problem

* Fix tests

* Better type tests
  • Loading branch information
serras authored and cocreature committed Dec 19, 2019
1 parent 70cb92c commit b52ee60
Show file tree
Hide file tree
Showing 12 changed files with 757 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ghcide.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ library
deepseq,
directory,
extra,
fuzzy,
filepath,
hashable,
haskell-lsp-types == 0.19.*,
Expand Down Expand Up @@ -96,6 +97,8 @@ library
include-dirs:
include
exposed-modules:
Development.IDE.Core.Completions
Development.IDE.Core.CompletionsTypes
Development.IDE.Core.FileStore
Development.IDE.Core.OfInterest
Development.IDE.Core.PositionMapping
Expand Down Expand Up @@ -123,6 +126,7 @@ library
Development.IDE.GHC.Warnings
Development.IDE.Import.FindImports
Development.IDE.LSP.CodeAction
Development.IDE.LSP.Completions
Development.IDE.LSP.HoverDefinition
Development.IDE.LSP.Notifications
Development.IDE.Spans.AtPoint
Expand Down Expand Up @@ -180,6 +184,7 @@ test-suite ghcide-tests
ghcide:ghcide,
ghcide:ghcide-test-preprocessor
build-depends:
aeson,
base,
bytestring,
containers,
Expand Down
Loading

0 comments on commit b52ee60

Please sign in to comment.