Julian Ospald
06569b72b2
Add update-index-state.sh script
...
This is kinda heavy, but it should work well on 32bit and 64bit arches.
The alternative was to copy-paste a lot of cabal-install code
that is not exposed. There seems to be no value in that for a
development script.
The alternative to this script is simply running 'cabal v2-update'
twice and then copy-pasting the output manually to cabal.project.
2020-01-07 23:55:57 +01:00
Julian Ospald
b202c8bbd7
Pin index state
2020-01-07 23:28:09 +01:00
Julian Ospald
93ecb1ec9f
Add script to regenerate freeze files
2020-01-07 15:10:59 +01:00
Julian Ospald
8e61c599d4
Add cabal freeze files and use them automatically
2020-01-07 15:10:59 +01:00
fendor
22c69c620b
Merge pull request #1562 from hasufell/PR/dont-build-twice
...
Avoid building HIE twice
2020-01-06 23:29:26 +01:00
Julian Ospald
433d082167
Avoid building HIE twice
...
cabal install works different than cabal build
and does not re-use its artifacts. Even some
dependencies may be rebuilt.
Future cabal versions may fix that, we don't know.
2020-01-06 22:37:54 +01:00
Alan Zimmerman
14523be429
Merge pull request #1559 from Anrock/readme-lsp-flag
...
Readme lsp flag
2020-01-06 18:19:37 +00:00
Anrock
4f423a0633
Update LanguageClientNeovim integration for lsp flag
2020-01-06 21:07:35 +03:00
Anrock
650ffc936a
Update neovim+coc integration instruction for lsp flag
2020-01-06 21:00:55 +03:00
Luke Lau
903bd869fd
Merge pull request #1549 from fendor/cradle-fix-haddock
...
Fix haddock documentation for Cradle.hs
2020-01-06 11:28:48 +00:00
fendor
8ff0499e1b
Fix haddock documentation for Cradle.hs
2020-01-06 02:03:30 +01:00
Alan Zimmerman
1542fa2ee7
Suggested improvements from cabal
2020-01-05 22:26:40 +00:00
Alan Zimmerman
6fb1a54884
Bump hie-plugin-api version to 1.0.0.0 too
2020-01-05 22:11:35 +00:00
Alan Zimmerman
4bc01d9bb1
Merge pull request #1548 from alanz/prepare-1.0
...
Updating Changelog for 2019-12 monthly release
2020-01-05 21:57:32 +00:00
Alan Zimmerman
721425b2ac
Merge pull request #1551 from fendor/default-fallback-cradle
...
Fallback to direct cradle if no project context can be found
2020-01-05 21:57:11 +00:00
fendor
72e138ebf0
Add include dir so local imports work as expected
2020-01-05 21:04:03 +01:00
fendor
e217af2152
Add filepath as only argument for module graph
2020-01-05 20:42:35 +01:00
Alan Zimmerman
945e203cf8
Include #1551 in the release
...
To work with a bare hs file
2020-01-05 19:35:09 +00:00
fendor
c56fe39364
Fallback to direct cradle if no project context can be found
2020-01-05 20:26:00 +01:00
Alan Zimmerman
50df7ae358
Tweak
2020-01-05 16:47:01 +00:00
Alan Zimmerman
fd5ee5d5bb
Include @fendor suggestions
2020-01-05 16:44:57 +00:00
Alan Zimmerman
427de80024
Updating Changelog for 2019-12 monthly release
2020-01-05 15:10:29 +00:00
fendor
7f0824033c
Merge pull request #1547 from alanz/bump-resolvers
...
Bump resolvers.
2020-01-05 13:40:59 +01:00
Alan Zimmerman
4d33cfd5a6
Bump resolvers.
...
Small one, only stack-8.6.5 moving to lts-14.20
2020-01-05 11:28:52 +00:00
Alan Zimmerman
3f64ea2890
Merge pull request #1522 from fendor/improve-error-messages
...
Improve quality and information density of error message
2020-01-05 00:51:05 +00:00
Alan Zimmerman
e016450278
Merge pull request #1542 from jneira/win-install
...
Add cmd script to install with cabal
2020-01-04 23:13:57 +00:00
fendor
222797e5b3
Fix typo
2020-01-05 00:11:43 +01:00
jneira
d388bdf822
Set executable mode
2020-01-04 22:44:30 +01:00
jneira
460cf1f4f3
Add missing file path seps
2020-01-04 17:36:04 +01:00
jneira
e401b6a73c
Mention the script in the readme
2020-01-04 17:17:25 +01:00
jneira
eb0bb0175f
Add script for posix
2020-01-04 17:12:28 +01:00
jneira
ce553e978d
Rename script
2020-01-04 16:07:17 +01:00
fendor
f3cfe9d198
Update the diagnostic publishing function
2020-01-04 14:46:47 +01:00
fendor
cb51e9ef83
Revert "Add passPublishDiagnostics to publish diagnostics via the server"
...
This reverts commit 50c82af73e
.
2020-01-04 14:28:43 +01:00
fendor
5e4a8c63af
Add build-tool agnostic error message
2020-01-04 13:58:47 +01:00
fendor
ab761e77c1
Make error message more legible.
...
Co-Authored-By: Luke Lau <luke_lau@icloud.com>
2020-01-04 13:57:48 +01:00
fendor
1ade72c66d
Add more sophisticated error messages
2020-01-04 13:57:48 +01:00
Alan Zimmerman
50c82af73e
Add passPublishDiagnostics to publish diagnostics via the server
...
It injects a message that gets processed in the right context.
2020-01-04 13:57:48 +01:00
fendor
3b5f40833b
Implement diagnostics
2020-01-04 13:57:48 +01:00
fendor
d4fbbf1502
Improve quality and information density of error message
2020-01-04 13:57:48 +01:00
jneira
420571202d
Add script to install with cabal
2020-01-04 03:14:23 +01:00
Luke Lau
b7ce8b8f2f
Merge pull request #1539 from alanz/hiewrapper-show-args
...
Tweak hie-wrapper and hie exe startup messages
2020-01-03 01:44:26 +00:00
Alan Zimmerman
78f6701e9c
Tweak hie-wrapper and hie exe startup messages
2020-01-02 20:28:43 +00:00
fendor
a8c156b8a1
Merge pull request #1538 from alanz/1412-cli-info
...
First pass at printing out debug info if started without --lsp
2020-01-02 13:24:38 +01:00
Alan Zimmerman
c8709361fb
Pass the "--lsp" parameter again in tests
...
Since it is needed once more.
2020-01-01 23:11:56 +00:00
Alan Zimmerman
8cc23dfd07
Merge pull request #1537 from alanz/1524-hlint-quickfix
...
Return hlint code actions as type 'quickfix'
2020-01-01 22:52:07 +00:00
Alan Zimmerman
c2a56d81d1
First pass at printing out debug info if started without --lsp
...
Example output
Running HIE(hie)
Version 1.0.0.0, Git revision 666626ede0
(dirty) (3534 commits) x86_64 ghc-8.6.5
Current directory:/home/alanz/mysrc/github/alanz/haskell-ide-engine/app
args:[]
Looking for project config cradle...
2020-01-01 22:41:46.396914848 [ThreadId 4] - Cabal-Helper dirs: ["/home/alanz/mysrc/github/alanz/haskell-ide-engine","/home/alanz/mysrc/github/alanz/haskell-ide-engine/app/File.hs"]
Resolving dependencies...
Build profile: -w ghc-8.6.5 -O1
In order, the following would be built (use -v for more details):
- hie-plugin-api-0.14.0.0 (lib) (configuration changed)
- haskell-ide-engine-1.0.0.0 (lib) (configuration changed)
- haskell-ide-engine-1.0.0.0 (test:wrapper-test) (configuration changed)
- haskell-ide-engine-1.0.0.0 (exe:hie-wrapper) (configuration changed)
- haskell-ide-engine-1.0.0.0 (lib:hie-test-utils) (configuration changed)
- haskell-ide-engine-1.0.0.0 (exe:hie) (configuration changed)
- haskell-ide-engine-1.0.0.0 (test:unit-test) (configuration changed)
- haskell-ide-engine-1.0.0.0 (test:plugin-dispatcher-test) (configuration changed)
- haskell-ide-engine-1.0.0.0 (test:dispatcher-test) (configuration changed)
- haskell-ide-engine-1.0.0.0 (test:func-test) (configuration changed)
Cradle:Cabal project
2020-01-01 22:42:24 +00:00
Alan Zimmerman
e1c97e9b4e
Return hlint code actions as type 'quickfix'
2020-01-01 21:37:25 +00:00
Andy
666626ede0
Readme: Remove non-existing troubleshooting entry
2020-01-01 14:45:08 +01:00
fendor
356c9871ea
Look for stack.yaml before selecting .cabal location as project root ( #1531 )
2020-01-01 14:16:33 +01:00