* Update niv and nixpkgs
* Use nixos-unstable in CI
* Do not override mkDerivation
* Switch to nixpkgs-unstable
* Jailbreak only broken packages
* Update nixpkgs
* Better override
* Update nixpkgs
* Check whether the package is jailbroken, add comments
* Downgrade tracy to 0.7.5
* Update maintainer notes
* Extract a Brittany plugin
* Add the brittany plugin to all the stack descriptors
* Extract tests into a standalone testsuite
* Drop AGPL flag
* Change the default logger to print to stderr
* add hls-brittany-plugin test suite to CI
* Add strict version bounds
These are completely unnecessary, but it's the approach that we seem to be taking
* includes breaking API change: bump ghcide version number
Co-authored-by: Junyoung/Clare Jang <jjc9310@gmail.com>
* Extract Development.IDE.GHC.ExactPrint
We need to start using ghc-exactprint in ghcide code actions
This new module, extracted originally from the tactics plugin and incorporating
some nice types from retrie, provides a reasonable API for exactprint
* lints
* Fix stack 8.8.2 descriptor
Co-authored-by: Junyoung/Clare Jang <jjc9310@gmail.com>
* Implements splice location detection
* Corrects detection logic
* Changed to use (bogus) message for code action
* Splice location
* Extract `Ide.TreeTransform` as an independent package
* It once worked, but stops...
* Now it works for inplace expansion for expressions
* generalises tree transformation to general AST element
* Done for Types and Patterns!
* Disabled "commented" style of expansion
* kills redundant imports
* Updates cabal.project
* Nix fix
* Nix fix, fix
* Throws away loading hacks entirely
* Type adjusted for inverse dependency
* Resolves merge conflicts
* WIP: Support hover and goto definition for top-level splices
I can't work out how to properly integrate this information into the
.hie file machinery. Perhaps it would be better to upstream this.
* Modifies splice information to store both spliced expression and expanded ones as well
* Avoid name collision
* formatting erros
* Safer error handling
* Rewrote using updated ghcide `TypeCheck` results
* Use `liftRnf rwhnf` to force spine of lists
* Stop using `defaultRunMeta` directly to avoid override of preexisting hooks
* Error report
* Add splice information into HIE generation.
* Resolves interace conflict
* Add test
* Changes to use ParsedModule to detect Splice CodeLens
* formatted
* Implements golden test
* mzero for HsDecl
* Decl Splice
* Workaround for Decl expansion and support type-errored macro expansion.
* Only setting up dflags correcly would suffice
* Removes lines accidentally added
* Regression tests for Declaration splice and kind-error ones
* Workaround for GHC 8.8
* Revert "Workaround for GHC 8.8"
This reverts commit 056f76971f.
* Unsupport pattern splices GHC 8.8
* Corrects line position in GoToHover
* Increases wait time
* Includes only related changes only
* Optimises `something'`
* Adds hie.yaml
* circie ci: Modifies stack-8.10.3.yaml
* Forgot to update dflags in auto-expansion with default strategy
* Forgot to add golden file
* A dummy commit to run CI
* Workaround for GHC 8.8 pattern splices
Co-authored-by: Matthew Pickering <matthewtpickering@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* Split out the explicit imports plugin
* Split out the retrie plugin
* Avoid test-breaking plugin descriptor change
It changes the order in which code actions get listed.
Some of the code action tests are not very smart and break.
* Fix stack descriptors
* Add ghc-api-version.h
* add LICENSE
The haskell-updates branch is already on Stackage nightly, which allows for a
much better cache hit rate (assuming haskell-updates is backed by a Hydra cache,
which I'm not quite sure of).