Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/haskell/haskell-language-server

Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
https://github.com/haskell/haskell-language-server

Provide symbols from ghcide too

aa17b820f5ef5ca189eea4f3561db3cafae73dbf authored almost 5 years ago by Alan Zimmerman <[email protected]>
ghcide code lens command now works

1aae2cf18960da131070c79832e0b990ba13fa13 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Add prefix to built in ghcide command

b555a6ecb6b572cb3afb4967a4a6d0e8996b892b authored almost 5 years ago by Alan Zimmerman <[email protected]>
Experimental multi-component support

Based on ghcide with

mpickering/wip/multi-rebase

rebased onto

pepeiborra/interface-fi...

08435a74090ed5e75a5ba5bb4029da17e5f626d7 authored almost 5 years ago by Alan Zimmerman <[email protected]>
WIP, prior to rebase for experimental

48a228f7ac2a4d2ab01ddb07c9fd5b389b399d6a authored almost 5 years ago by Alan Zimmerman <[email protected]>
Merge pull request #59 from alanz/bump-ghcide

Bump ghcide

d7e8c879c1c30119dc775f6237f49edf6998db75 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Bump ghcide

5f507a2616fa7d786b08e1ffba2424f81ea31095 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Treat alex the same way as happy to avoid CI issues (haskell/ghcide#497)

c90fe26f1ed9bda54b32294c6c551cf260b0d569 authored almost 5 years ago by Moritz Kiefer <[email protected]>
Improve completion contexts (haskell/ghcide#495)

The completion context determines whether we show completions for
types or completions for valu...

c35716f0ea43eec08b1d24926ce599fdbf13e89d authored almost 5 years ago by Moritz Kiefer <[email protected]>
Allow disabling the simplifier in compileModule (haskell/ghcide#496)

It causes problems for our conversion to DAML-LF atm and isn’t
necessary (since we don’t have t...

295ef15f257ed4e8e2e59a20b99f3b711f5f66bd authored almost 5 years ago by Moritz Kiefer <[email protected]>
Make keywords customizable (haskell/ghcide#493)

This is necessary for DAML where we have additional
keywords (e.g. `with`) and other keywords d...

5383e9df2ecb908e181e0ed9f214cffdad25ba2a authored almost 5 years ago by Moritz Kiefer <[email protected]>
Merge pull request #58 from alanz/ghcide-hover-too

Create plugin for wrapping the handlers from ghcide

df199db3e367b59275e64beee30eb5884aa0e853 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Add missing source file. Duh.

8299f251964d324fa9c3bb885969b808bff2a91b authored almost 5 years ago by Alan Zimmerman <[email protected]>
CI: Build cabal deps in a separate step, use new-build.

07e73f504f29dca6b1ed86fd9b92809bd338d25b authored almost 5 years ago by Alan Zimmerman <[email protected]>
Switch back to ghcide master

0b4b6ef34704e1861be6d05aee6f28a3714b06f0 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Pass correct SafeHaskell information to mkIfaceTc (haskell/ghcide#489)

Seems like this was never implemented the first time, woops!

Fixes haskell/ghcide#424

6d33b5516dd51a97f3184a1a54f009a23f419ca6 authored almost 5 years ago by Matthew Pickering <[email protected]>
Add azure job for windows and restructure azure config files (haskell/ghcide#475)

* Add azure job for windows and ghc-8.6

* Trigger build in branches starting with azure

* ...

79f7271a89538cde9557324f7e38d7ecb8386b46 authored almost 5 years ago by Javier Neira <[email protected]>
Expose underlying hover and gotoDefinition handlers (haskell/ghcide#490)

For use in haskell-language-server

a67cae6bd8692c628a6b96eb8e253d8107bc0db2 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Remove unused import, so tests can run

daf98d759335e8abb3a75b0b5f91b7fde197f5d0 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Create plugin for wrapping the handlers from ghcide

The way PartialHandlers are chained in ghcide means earlier ones get masked by
ones added later ...

b8f2241ff14848677ddcf20925b68d0b75ef3480 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Merge pull request #45 from alanz/plugin-api

Starting to sketch out IDE-level plugin modularity

17b150b0447f706336c542d89c2803fb0c8730e8 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Get tests to pass

cebd00fab094e943635fca9dfec7edbe6e40d372 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Add a "mark" function to write to stdout and the test log

For correlating with circleci logs

2ebf7ae37069417ffb3b152d30ada641bbb7d5c0 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Put test id in the logs

fd28518c48b86fe50bf25dcf459ef5dcd5420704 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Print some progress on the tests

20746cf61f4da33b0469bc60b77a6e2157966919 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Switch to using ghcide master again

e95257658635baa96c34e777eaeb097095d2a06f authored almost 5 years ago by Alan Zimmerman <[email protected]>
Working on Plugin support for haskell-language-server (haskell/ghcide#477)

* Working on Plugin support for hls

Fix PluginCommand reply type for executeCommand needs

...

e94b3f34b14ccd3584dc1aa68b214db10f69c612 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Use tasty-rerun to allow rerunning failed tests only (haskell/ghcide#484)

Use by

stack --stack-yaml=stack84.yaml test --test-arguments "--rerun"

6f04e349d945759709adb896fd1978926063578e authored almost 5 years ago by Alan Zimmerman <[email protected]>
Assist with windows compatibility

750bb586b02b7ada9655ee091bead486ae3f0432 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Make sure the test-logs directory exists

Otherwise the tests crash.

c43790b676c7111f4f2a2b05723b86e77a709f73 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Mark documentContents failing tests pending

It seems lsp-test is not applying edits properly, doing the same sequence in
vscode results in t...

7552c58c9333ecad972f63dd75ea5e19577da926 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Investigating the failing formatter tests.

Conclusion is that getDocumentContents is returning junk, doing the idempotent
test manually on ...

43d63817234e96d6794e292d3ebc3f6fb33fc5e7 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Match changes in ghcide

Moving PluginCommand into hls.

e736ee15556ee4b7e4e14fbc05ea44cbc1865fb1 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Add symbols provider to plugin support

fa46f7fc2fb69944943ea8c5610d8802a56cf5a9 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Add initial support for completion plugins

The CompletionProvider handler type should probably be extended to include a
WithSnippets parame...

c4db76dc103f6fbe698181a92360d64008a04dfb authored almost 5 years ago by Alan Zimmerman <[email protected]>
Match changes to rebased ghcide

b91e5688148d473c23ecd48e094b63b2abf576b9 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Working on tests.

Currently suspect the range we get to format the whole file is wrong, second
time around.

b02bf3323eecc693110720cd2e5ac674129b4cb0 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Rebase to current ghcide master

3acb99f05a778e60a06d77a6b53af2e56e8ea418 authored almost 5 years ago by Alan Zimmerman <[email protected]>
More plugin refactoring, add codelens support

Starting to look pretty solid.

a33c2b481dc819695d146181711ab43fefe85123 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Add logging

It piggy-backs existing args from ghcide, probably a bad idea

bcc4b966925be482e1183956828c335989b3db5e authored almost 5 years ago by Alan Zimmerman <[email protected]>
Starting to sketch out IDE-level plugin modularity

Address #25

Currently WIP

3088e6da0a68ec4fa898bf9af92bacf0b99fe829 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Rebase against ghcide, in the hope of getting it to work.

Currently (for me) neither ghcide nor haskell-language-server can resolve a
simple project. Assu...

7dbfb9754bf771c9370781bbc9eb48f2e260c839 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Rebase ghcide changes, and match in hls branch

5bae0dd9a2569436d74e812d9d67f81700cfbbd6 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Break out HoverProvider into separate handler config

94f800922885e072c7696f6d99e789c2c918145a authored almost 5 years ago by Alan Zimmerman <[email protected]>
Working on Plugin concept.

Tests do not pass, but want to rebase, so marking a checkpoint.

1470977ceb7122ce3ec86bfe2a1279a922fb9973 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Break out Code Action providers into their own handler

5c4758e5f2ac8ed31780cf338f5c06eca76a3bc7 authored almost 5 years ago by Alan Zimmerman <[email protected]>
ExecuteCommand plugins work via pluginDescriptor

Demonstrated by adding missing pragmas derived from GHC error messages.

e27c7c697e377ae12d6fcda95bc6b6f664dab797 authored almost 5 years ago by Alan Zimmerman <[email protected]>
WIP. Using plugin descriptors, and combining them.

Proof of concept, seems to work in big pieces, needs huge amount of cleanup.

90aae363f13450d6566eef921d78205960ecedd3 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Merge pull request #55 from greenhat/fix-hie-yaml-samples

fix missing component(hls-tests) in hie.yaml samples (added func-test)

9b77d33b643f5432b71de75692186256808fa297 authored almost 5 years ago by Alan Zimmerman <[email protected]>
fix missing component(hls-tests) in hie.yaml samples (added func-test);

e3a0db0fc8ade489875caf3f19db5139085bb920 authored almost 5 years ago by Denys Zadorozhnyi <[email protected]>
Fix two regressions since 0.1.0 (haskell/ghcide#471)

* Fix isWorkspaceFile for relative paths

This fixes a performance regression on GetFileExists...

6efafe699eec9f5cc29c604514e0e11ae698da69 authored almost 5 years ago by Pepe Iborra <[email protected]>
Refactoring: remove isTesting from ShakeExtras (haskell/ghcide#469)

isTesting got added to ShakeExtras unnecessarily

6f946f0768576cc647109830b137ef7794bcf5df authored almost 5 years ago by Pepe Iborra <[email protected]>
Guess all imports (haskell/ghcide#459)

* Suggest missing imports via package exports map

At the expense of some space and initializa...

3cac2e20063e53cb01b15b01737104fb4d79eb75 authored almost 5 years ago by Pepe Iborra <[email protected]>
Merge pull request #53 from jneira/cabal-helper-head

Use cabal helper head

0be0d7b20a9f32b1e4d44b3f05576871d89ad200 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Merge pull request #52 from jneira/improve-install

Port hie changes in install script of pull https://github.com/haskell/haskell-ide-engine/pull/1665

be12826b95fc517cd8ca91c350699239fd5f7f83 authored almost 5 years ago by Javier Neira <[email protected]>
Remove versions already in lts

6958b820d2cbc28b1fd264b4391669992b9d49c9 authored almost 5 years ago by jneira <[email protected]>
Use cabal-helper head

32daf7fc3d08b3c100b75ecc6a36ccb0b9cfd3d1 authored almost 5 years ago by jneira <[email protected]>
Port hie changes of pull #1665

* Remove unused imports
* Pass verbosity shake arg to build tools (cabal and stack)
* Use ...

fafd8a669df93da7db5624d5b3782dcc508b3447 authored almost 5 years ago by jneira <[email protected]>
Set the streams to utf8 in Main.hs (haskell/ghcide#466)

72e4b35708fb8c4df5f158d2c6be1c985fd0720e authored almost 5 years ago by Moritz Kiefer <[email protected]>
Tests for cradle loading (haskell/ghcide#460)

* Refactor: extract Rules to a separate module

* Add tests for cradle loading

* Fix defaul...

351807060a88d6185be3c3d30e62135f08c223fd authored almost 5 years ago by Pepe Iborra <[email protected]>
Try removing allow-newer (haskell/ghcide#465)

* Try removing allow-newer

Seems to cause problems for users, e.g. haskell/ghcide#464

* Up...

cf141df2f007f96c11e9d976bc095ac2b06139eb authored almost 5 years ago by Neil Mitchell <[email protected]>
Add a note about hacking on ghcide from Windows (haskell/ghcide#463)

* Add a note about hacking on ghcide from Windows

See https://github.com/digital-asset/ghcide...

890ca439db3ee26538798807bb54772b6672a848 authored almost 5 years ago by Neil Mitchell <[email protected]>
Fix regression in cradle loading logic (haskell/ghcide#450)

We were calling runCradle multiple times per cradle, concurrently. For Cabal
cradles this funct...

12743a28d457f92be6e405dd2a25dff0a09aaf72 authored almost 5 years ago by Pepe Iborra <[email protected]>
Guess more imports (haskell/ghcide#451)

Now guess missing imports also works for:

- Type names
- Data constructors
- Operators
- q...

1666d8e679e044c264dfd9d8296273ebcbae15c0 authored almost 5 years ago by Pepe Iborra <[email protected]>
ghc 8.10 compatibility (CPP optP) (haskell/ghcide#452)

b6167050e9cc5f64749c7eea3c0a9b25c18bd167 authored almost 5 years ago by sheaf <[email protected]>
Add .hie files support for home modules (haskell/ghcide#440)

* Add .hie files support for home modules

This is required for goto definition when using int...

28e3e1327697c4582beda50c49c4a18c9d057509 authored almost 5 years ago by Pepe Iborra <[email protected]>
Merge pull request #49 from jneira/port-9f5bce

Port 9f5bce by @fendor from hie

75b6610aa171ca83a9b3b96271d62ba16de18519 authored almost 5 years ago by fendor <[email protected]>
Port 9f5bce by @fendor from hie

a2a71a2b649998cfe33215b456c5d3ef21594561 authored almost 5 years ago by jneira <[email protected]>
Group Imports in Outline into a single node (haskell/ghcide#443)

* Group Imports in Outline into a single node

Makes it easier to see symbols in scope when yo...

db322b878bc866e3d46776afc9b6808288b2f903 authored almost 5 years ago by fendor <[email protected]>
Cache NormalizedFilePath in ArtifactLocation (haskell/ghcide#445)

Previously PathIdMap cached NormalizedFilePath values, but with the addition of
module data tho...

b2e5090595629979544092d663289962a86bc87c authored almost 5 years ago by Pepe Iborra <[email protected]>
Local hidir and hiedir folders to avoid conflicts with Cabal (haskell/ghcide#441)

* Local hidir and hiedir folders to avoid conflicts with Cabal

hi files created by ghcide wou...

525dc847d9a6274dd144a942ea87e28bec43515c authored almost 5 years ago by Pepe Iborra <[email protected]>
Code action to suggest adding missing imports from pkg db (haskell/ghcide#437)

* Code action to suggest adding missing imports from pkg db

The implementation looks in modul...

c258138db29b1c859dbdd4439c512fb053535699 authored almost 5 years ago by Pepe Iborra <[email protected]>
Fix redundant import code action corner cases (haskell/ghcide#433)

- Redundant "All" imports, e.g. Maybe(..)
- Redundant datatype plus constructors, e.g. Maybe(J...

509ab968b1e07a9e3642692bd694ebe1c7b3e4b8 authored almost 5 years ago by Pepe Iborra <[email protected]>
Merge pull request #42 from alanz/add-floskell-formatter

Generalize formatter plugin support, add Floskell

80bc2e8fac470330479c9e2e2222ebf5a687b95f authored almost 5 years ago by Alan Zimmerman <[email protected]>
Revert to digital-asset for submodule

543d2bcf78ba5acdd94e546b603df1e9de837b0b authored almost 5 years ago by Alan Zimmerman <[email protected]>
Tweak tests for a pass

The floskell formatting is not correct, but this is initially about getting the
plugin machinery...

e726dfe89413568e5039b743656c6c775c1d7637 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Suggestions for missing pattern signatures (haskell/ghcide#436)

e2abe839fa36afcc282fa3b71b0e625a2e8fb007 authored almost 5 years ago by Pepe Iborra <[email protected]>
Add a .editorconfig (haskell/ghcide#435)

* Add a .editorconfig

* Move to https

3abb07933cf9ee4c92389c9d809e4ce7007e5d38 authored almost 5 years ago by Neil Mitchell <[email protected]>
Enable compatibility with the next version of HLint (haskell/ghcide#434)

* Use Just True == in preference to fromMaybe True or similar

* Use trimStart instead of drop...

1f9e3ee0cbc290a79fc3e939d66fedb2d888f44c authored almost 5 years ago by Neil Mitchell <[email protected]>
Automatically pick up new dependencies (haskell/ghcide#408)

* Automatically pick up new dependencies

hie-bios's componentDependencies returns the depende...

0782a6adb05909c992c3d207c4c4986eba220b16 authored almost 5 years ago by Jinwoo Lee <[email protected]>
Track module dependencies (haskell/ghcide#431)

* Add ModLocation to Import type

* Add ModuleNames to dependency information

With @adamse
...

ddd44721634dd7b5f3dbae058db85b8c6ad5ab91 authored almost 5 years ago by Pepe Iborra <[email protected]>
Fix add suggested import for operators (haskell/ghcide#428)

4101ee21ded82cd5f8928a426a60722bce701fe8 authored almost 5 years ago by Pepe Iborra <[email protected]>
Parameterize the haskell-lsp client config type (haskell/ghcide#416)

So that haskell-language-server can use its own config

And separate it out from the IdeConfig...

eefb220202ff015449ed37e6cb77aef2b9e6280d authored almost 5 years ago by Alan Zimmerman <[email protected]>
Track changes in ghcide

69ec1725c7cfde84599930145bd53816523dccd2 authored almost 5 years ago by Alan Zimmerman <[email protected]>
Move to the latest Stackage snapshot (haskell/ghcide#429)

2ccb3b849b7d2a59b0a0a9a1208805e1c7b950b6 authored almost 5 years ago by Neil Mitchell <[email protected]>
Workspace roots and getFileExists (haskell/ghcide#412)

* parse lsp client configuration to track workspace roots

* Only use Watched files on workspa...

65c4ef9d074a60d2b95704925d3b8ab2f9d4486c authored almost 5 years ago by Pepe Iborra <[email protected]>
Bringing in ability to select provider.

Needs https://github.com/digital-asset/ghcide/pull/412 to land first, as a basis
for the needed ...

a30949bd57a859bb66767fe2093e9406da4977ed authored almost 5 years ago by Alan Zimmerman <[email protected]>
Run simplifier before generating ByteCode (haskell/ghcide#410)

Running the simplifier is necessary to do things like inline data
constructor wrappers.

Fixe...

815923d48a10a0795e0643f5c838d7530b72c68a authored almost 5 years ago by Matthew Pickering <[email protected]>
Fix build on Windows (haskell/ghcide#423)

31b9cfda662650033ddb96a63bb2357f4dc95a33 authored almost 5 years ago by Neil Mitchell <[email protected]>
Change getDocumentation to work with parsed modules (haskell/ghcide#413)

* Refactor getDocumentation to work with parsed modules

* Fix names to express semantic rathe...

3bc58f7cbc72c180986e5ee3e3be0ad950685f99 authored almost 5 years ago by Pepe Iborra <[email protected]>
Change the representation of filestamps (haskell/ghcide#415)

* Change the representation of filestamps

This is needed to be able to compare them, which we...

1aa7ce263a770373021d59e0e3ab80879ba9b45a authored almost 5 years ago by Pepe Iborra <[email protected]>
Fix ModLocation creation (haskell/ghcide#414)

* Fix ModLocation creation

* Simplify

81d490012f0809f707cb75d807b2ff1e48e7a881 authored almost 5 years ago by Pepe Iborra <[email protected]>
Use HashMap/HashSet for maps indexed by Normalized{FilePath,Uri} (haskell/ghcide#420)

Now that we have optimized Hashable instances for these, it makes
sense to use this consistently.

be282cb769c53a678c14897a80f4eac5bb270ccf authored almost 5 years ago by Moritz Kiefer <[email protected]>
See if fakeDynFlags is unnecessary (haskell/ghcide#378)

* See if fakeDynFlags is unnecessary

* Cleanups now fakeDynFlags is gone

* Remove redundan...

6dcf2a866129db1a226ad4f8c6ace61aa9075447 authored almost 5 years ago by Neil Mitchell <[email protected]>
Reduce the Stackage GHC 8.8 diff again (haskell/ghcide#419)

3e3fd693296c9b8e18e377cab827396faea0d716 authored almost 5 years ago by Neil Mitchell <[email protected]>
Display output from initialising cradle in debug mode (haskell/ghcide#411)

adc7f60009fc644d8eee53af5de0d2452ff7b3bf authored almost 5 years ago by Matthew Pickering <[email protected]>
GHC 8.10 support (haskell/ghcide#360)

51b94f7436d439d204263f0252113a75e136682f authored almost 5 years ago by sheaf <[email protected]>
haskell/ghcide#68, document the issues around stty on Windows (haskell/ghcide#417)

3a0254ca84256a6a58f34d7e873629342b9dd90d authored almost 5 years ago by Neil Mitchell <[email protected]>
Add some troubleshooting notes. (haskell/ghcide#418)

e357cab4625dce272daf2d5dec541543c13b9438 authored almost 5 years ago by Carlo Hamalainen <[email protected]>
Update deps for stack-8.6.5.yaml

5e92113f51483025702afa7a23055c1323d02600 authored almost 5 years ago by Alan Zimmerman <[email protected]>