Commit Graph

3310 Commits

Author SHA1 Message Date
Luke Lau
32a673915f Add a comment 2019-11-18 22:45:03 +00:00
Luke Lau
d30d0583a8 Display hie.yaml parse errors in LSP 2019-11-18 22:43:23 +00:00
Luke Lau
61b6ba8d1a Filter out projects if the build tool is not installed
In findCabalHelperEntryPoint. Fixes https://github.com/mpickering/haskell-ide-engine/issues/52
2019-11-18 20:15:35 +01:00
fendor
532aa60073
Demote no access to virtual file to debug messages 2019-11-18 10:08:08 +01:00
jneira
3795616a92 Remove unused imports 2019-11-18 10:00:16 +01:00
Luke Lau
dcf81a11d2 Use the LSP provided root directory to find the cradle
When checking for GHC version.  This also removes the redundant check in
MainHie (I'm not sure why were checking twice). This will remove the
check for the JSON transport, but as far as I am aware this is
unmantained anyway.
2019-11-14 22:00:00 +00:00
Joe Hermaszewski
714f42a169 Use direct cradle for tests when stack is not available 2019-11-14 15:46:40 +00:00
Matthew Pickering
52691a6308
Merge pull request #40 from mpickering/none-cradle
Add proper support for the 'none' cradle
2019-11-05 22:46:14 +00:00
Matthew Pickering
6a9b727621 Add proper support for the 'none' cradle
The main change here is making `runActionWithContext` take an additional
default argument which can be returned in the case that we discover that
we shouldn't try to understand or process a specific file we are asked
to understand.
2019-11-05 22:44:19 +00:00
fendor
d79e033fb1
Merge pull request #26 from fendor/cabal-helper-helper
Use cabal-helper 1.0
2019-11-05 23:15:58 +01:00
fendor
4a80ec3a2d Rework comments that do not make sense 2019-11-05 18:37:20 +01:00
fendor
a19ff9cb62 Catch exceptions on initialisation and add explicit import list 2019-11-05 18:30:20 +01:00
fendor
3ed7833104 Fix typo in documentation of the project root discovery 2019-11-05 17:18:04 +01:00
Matthew Pickering
e1da60323f
Merge pull request #37 from mpickering/profiling-docs
Documentation about profiling
2019-11-05 10:27:52 +00:00
fendor
232e7d6f42 Update Documentation, e.g. fix typos and add explanations 2019-11-01 14:56:03 +01:00
fendor
9ee81566fc Add exhautive documentation for Cabal-Helper-Helper implementation 2019-10-31 16:23:13 +01:00
fendor
43096537a5 Move utility functions to the bottom of Cradle.hs 2019-10-31 14:01:42 +01:00
fendor
9ceec1ebad Move function relativeTo to the bottom of the file 2019-10-29 16:25:52 +01:00
fendor
b4f232645b Remove redundant check for stack installation 2019-10-29 16:25:13 +01:00
fendor
b775f13c4e Prefer canonicalisePath over normalise 2019-10-29 14:57:32 +01:00
fendor
97e6617c3f If not package can be found, return none-cradle 2019-10-29 14:55:09 +01:00
fendor
0517eaa335 Implement the ancestors function 2019-10-29 14:42:11 +01:00
fendor
c45714e30d Remove comments from .gitmodules 2019-10-29 13:59:15 +01:00
fendor
92add4e635 Fix stripFilePath function 2019-10-29 12:59:55 +01:00
fendor
7e7bd1df95 Remove unused Language Pragma 2019-10-28 16:31:13 +01:00
fendor
cc40b6f016 Implement perfect match for c-h-h cradle discovery 2019-10-28 16:03:09 +01:00
fendor
83c509058d Bump cabal-helper version to latest master a1c4a37 2019-10-26 21:50:33 +02:00
fendor
ed6d66bf40 Fix stack for ghc 8.6.5 2019-10-26 18:16:28 +02:00
fendor
c84b33fcbf .gitmodules, use https instead of ssh 2019-10-25 15:51:27 +02:00
fendor
b28e9444a7 Upgrade stack version in circleci to 2.1.3 2019-10-25 15:44:11 +02:00
fendor
91a56b01f5 Improve comments 2019-10-25 15:19:16 +02:00
fendor
b72e60690d Refactor functions and add Documentation 2019-10-25 15:19:16 +02:00
fendor
2ffb17e54f More Documentation 2019-10-25 15:19:16 +02:00
fendor
c41eed00bf Fix cabal-helper multi-packages support 2019-10-25 15:19:16 +02:00
fendor
2fdcb3ad4c Add none-cradle if file does not belong to any package 2019-10-25 15:19:16 +02:00
fendor
408b0b589a Add real error messages 2019-10-25 15:19:16 +02:00
fendor
799bfd6ee9 Fix multi-component support for cabal-helper cradle 2019-10-25 15:19:16 +02:00
fendor
7def5140be Update .gitmodules 2019-10-25 15:19:16 +02:00
fendor
ae844a03ba Change HaRe submodule to use different remote 2019-10-25 15:19:16 +02:00
fendor
52b60baa7b Fix builds for stack 2019-10-25 15:19:16 +02:00
fendor
294c40127c Update hie-bios 2019-10-25 15:15:56 +02:00
fendor
a1bac0741a Re-implement cabal-helper cradle
Update ghc-project-types to include latest c-h changes.
2019-10-25 15:15:56 +02:00
fendor
26d0ddd896 Update .gitmodules to use DanielG's cabal-helper 2019-10-25 15:15:56 +02:00
fendor
52940fbdf7 Use cabal-helper 1.0 2019-10-25 15:15:56 +02:00
fendor
89f8d830cf
Merge pull request #41 from jneira/hie-bios-haskell-lsp-0.17
Merge branch 'master' (incoming 0.13 release including haskell-lsp-0.17)
2019-10-23 13:22:50 +02:00
jneira
3dcedf8a18 Merge branch 'master' (incoming 0.13 release) 2019-10-23 12:51:37 +02:00
jneira
1cf6ab7cf6 Correct progress title of second request 2019-10-23 11:39:34 +02:00
jneira
582ff056c9 Add intermediate progress report notification 2019-10-23 11:34:04 +02:00
Luke Lau
38a6febbee
Merge pull request #1421 from alanz/prepare-0.13
Preparing 0.13 release
2019-10-23 00:26:10 -07:00
Alan Zimmerman
3a17fce382 Preparing 0.13 release 2019-10-22 21:56:16 +01:00