Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
Go to file
Aarush Bhat 42bcf9229a
Feat: Folding Ranges (#3058)
* save some progress: add basic starter code for folding ranges

* save some progress: add function to traverse through coderange and form folding ranges

* save some progress: add parsing of folding ranges

* fix: maybe issue with foldingRanges

* add: generate folding ranges from coderange

* add: plugin request method instance for folding ranges

* ref: alter function and var names

* post review: cleanup crk to frk & fix typo

* fix: find folding ranges function

* format: run formatter and add comments

* fix: return all response results of folding range request

* Revert "format: run formatter and add comments"

This reverts commit e6a2b5ca3e.

* add: removed comments after revert

* fix: formatting

* docs: add folding range to features section and cabal file

* refactor: use destructuring for createFoldingRange function and use characters

* test: add basic unit test for findFoldingRanges function

* test: add tests for children and code kind

* test: add more test cases

* test: add test for createFoldingRange

* test: add integration test for folding ranges

* fix: duplicate start line foldingranges and remove single line
foldingranges

* refactor: duplicate folding range functionality

* fix: formatting in code range plugin

* added more descriptive comments and encorporate code review suggestions

* revert: automatic formatting for selection range test case file

* fix: ignoring children if root fails to provide folding ranges

* remove: redundant match on crkToFrk

* revert: filtering same line foldings and multiple foldings on the same line as it can be handled by clients

* revert: formatting change to selection range test file

* fix: entire file folding because of root node

Co-authored-by: Kobayashi <contact@zelinf.net>
2022-09-21 12:59:57 +01:00
.circleci Support ghc-9.2.4 (#3085) 2022-08-11 09:54:02 +01:00
.github Bump technote-space/get-diff-action from 4.0.1 to 6.1.0 (#3198) 2022-09-19 07:35:49 +00:00
.gitlab gitlab-ci: workaround centos failure 2022-09-14 02:27:17 +05:30
bench Improve performance of NormalizedFilePath (#3067) 2022-09-08 19:54:24 +00:00
bindist 9.4 support + MHU 2022-09-01 14:47:55 +05:30
docs Feat: Folding Ranges (#3058) 2022-09-21 12:59:57 +01:00
exe Prepare 1.8.0.0 2022-09-14 02:27:17 +05:30
ghcide Stylish Haskell: CPP parse issues (#3199) 2022-09-19 20:31:37 +00:00
ghcide-bench Fix benchmarks 2022-08-31 00:56:35 +05:30
hie-compat Prepare 1.8.0.0 2022-09-14 02:27:17 +05:30
hls-graph Remove unused build-depends and install warnings (#3155) 2022-09-15 10:44:02 +01:00
hls-plugin-api Feat: Folding Ranges (#3058) 2022-09-21 12:59:57 +01:00
hls-test-utils Prepare 1.8.0.0 2022-09-14 02:27:17 +05:30
plugins Feat: Folding Ranges (#3058) 2022-09-21 12:59:57 +01:00
release Release script fixes (#3154) 2022-09-14 08:14:32 +00:00
shake-bench HLS benchmarks (#3117) 2022-08-25 15:08:57 +01:00
src Prepare 1.8.0.0 2022-09-14 02:27:17 +05:30
test Solve formatting issues (stylish-haskell, pre-commit CI) (#3171) 2022-09-18 08:41:14 +00:00
test-logs Make sure the test-logs directory exists 2020-03-15 12:38:07 +00:00
.editorconfig removed Makefile section 2020-10-11 20:28:08 +02:00
.gitignore HLS benchmarks (#3117) 2022-08-25 15:08:57 +01:00
.gitlab-ci.yml gitlab-ci: upgrade to fedora33 from fedora27 2022-09-14 02:27:17 +05:30
.gitmodules Remove the ghcide submodule 2020-12-29 13:17:40 +00:00
.gitpod.Dockerfile Support ghc-9.2.4 (#3085) 2022-08-11 09:54:02 +01:00
.gitpod.yml handle trailing comma in import list properly (#3035) 2022-07-16 10:16:55 +00:00
.hlint.yaml Fix hlint 2022-09-06 20:36:24 +05:30
.pre-commit-config.yaml Stylish Haskell: CPP parse issues (#3199) 2022-09-19 20:31:37 +00:00
.readthedocs.yaml Add initial sphinx doc site (#2083) 2021-08-11 08:54:51 +00:00
.stylish-haskell.yaml Stylish Haskell: CPP parse issues (#3199) 2022-09-19 20:31:37 +00:00
cabal.project gitlab-ci: workaround centos failure 2022-09-14 02:27:17 +05:30
ChangeLog.md Prepare 1.8.0.0 2022-09-14 02:27:17 +05:30
CITATION.cff Create a citation (#2155) 2021-09-04 04:17:44 +00:00
CODE_OF_CONDUCT.md Add proof of concept hard-coded hover handler 2020-01-25 19:45:32 +00:00
CODEOWNERS Stan integration #258 (#2908) 2022-07-28 02:11:31 +03:00
configuration-ghc-90.nix nix: fix nix environment 2022-09-16 10:35:01 +02:00
configuration-ghc-92.nix build(nix): ghc922 -> ghc923 (#3049) 2022-07-20 16:59:54 +00:00
configuration-ghc-94.nix nix: fix nix environment 2022-09-16 10:35:01 +02:00
default.nix Use cabal-install if nix is failing in CI (#1859) 2021-05-24 07:42:00 +02:00
docutils.nix nix update (#2892) 2022-05-13 10:09:51 +01:00
flake.lock nix: fix nix environment 2022-09-16 10:35:01 +02:00
flake.nix nix: fix nix environment 2022-09-16 10:35:01 +02:00
fmt.sh Add a new benchmark example to characterise multi-component performance (#1326) 2021-02-12 16:03:34 +00:00
FUNDING.yml Include sponsorship section (#2063) 2021-08-02 23:38:45 +00:00
GenChangelogs.hs Prepare 1.5.1 (#2393) 2021-11-28 12:54:17 +00:00
GNUmakefile Fix windows CI 2022-04-26 01:08:40 +05:30
haskell-language-server.cabal Remove internal library haskell-language-server:plugins 2022-09-14 11:38:48 +05:30
LICENSE Initial commit 2020-01-25 14:19:40 +00:00
README.md Support hls-hlint-plugin and hls-stylish-plugin for ghc9.0 and ghc9.2 (#2854) 2022-04-28 17:36:25 +00:00
Setup.hs Initial basic infrastucture 2020-01-25 14:33:53 +00:00
shell.nix Fix flake compat (#1852) 2021-05-21 15:58:26 -04:00
stack-lts16.yaml Clean up heapsize bits (#3168) 2022-09-18 09:03:46 +02:00
stack-lts19.yaml Clean up heapsize bits (#3168) 2022-09-18 09:03:46 +02:00
stack.yaml Clean up heapsize bits (#3168) 2022-09-18 09:03:46 +02:00

haskell-language-server

haskell-language-server

Release Hackage License Apache 2.0 CircleCI GitHub Testing Workflow GitHub Nix Workflow ircchat codetriage

The official Haskell language server (LSP) implementation. Consult the project documentation for more details.