diff --git a/Changelog.md b/Changelog.md index 2c242f8ea..d3cdc50ae 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,19 @@ +# 0.7.0.0 + +- Resolver bumped, LTS 13.9 for GHC 8.6.3 (@alanz) +- Ongoing improvements of `install.hs` installation process and + documentation. (@fendor, @power-fungus, @Anrock, @Hogeyama ) + - Improved documentation + - can now also build via `cabal new-build` + - improved cross-platform support +- Introduce [floskell](https://github.com/ennocramer/floskell) as an + alternative formatting provider (@bubba, @AlexeyRaga, @luigy) + - Introduces `formattingProvider` as a plugin API function. + - Can be selected via configuration option `formattingProvider` +- Respects the `only` parameter of codeAction requests (@bubba) + - So can request only `quickfix` or `refactor` code actions. +- Bump hlint to 2.1.15 (@alanz) + # 0.6.0.0 - Resolver bumped, LTS 13.5 for GHC 8.6.3 (@alanz) diff --git a/README.md b/README.md index 28c383129..3f41707de 100644 --- a/README.md +++ b/README.md @@ -380,6 +380,12 @@ There are some settings that can be configured via a `settings.json` file: "languageServerHaskell": { "hlintOn": Boolean, "maxNumberOfProblems": Number + "diagnosticsDebounceDuration" : Number + "liquidOn" : Bool (default False) + "completionSnippetsOn" : Bool (default True) + "formatOnImportOn" : Bool (default True) + "formattingProvider" : String (default "brittany", + alternate "floskell") } } ``` diff --git a/haskell-ide-engine.cabal b/haskell-ide-engine.cabal index a48b1bdc9..4ad13e03d 100644 --- a/haskell-ide-engine.cabal +++ b/haskell-ide-engine.cabal @@ -1,5 +1,5 @@ name: haskell-ide-engine -version: 0.6.0.0 +version: 0.7.0.0 synopsis: Provide a common engine to power any Haskell IDE description: Please see README.md homepage: http://github.com/githubuser/haskell-ide-engine#readme diff --git a/hie-plugin-api/Haskell/Ide/Engine/Config.hs b/hie-plugin-api/Haskell/Ide/Engine/Config.hs index a0f34dff9..e271d7ca6 100644 --- a/hie-plugin-api/Haskell/Ide/Engine/Config.hs +++ b/hie-plugin-api/Haskell/Ide/Engine/Config.hs @@ -50,8 +50,8 @@ instance FromJSON Config where <*> o .:? "diagnosticsDebounceDuration" .!= diagnosticsDebounceDuration def <*> o .:? "liquidOn" .!= liquidOn def <*> o .:? "completionSnippetsOn" .!= completionSnippetsOn def - <*> o .:? "formatOnImportOn" .!= formatOnImportOn def - <*> o .:? "formattingProvider" .!= formattingProvider def + <*> o .:? "formatOnImportOn" .!= formatOnImportOn def + <*> o .:? "formattingProvider" .!= formattingProvider def -- 2017-10-09 23:22:00.710515298 [ThreadId 11] - ---> {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{"languageServerHaskell":{"maxNumberOfProblems":100,"hlintOn":true}}}} -- 2017-10-09 23:22:00.710667381 [ThreadId 15] - reactor:got didChangeConfiguration notification: diff --git a/stack.yaml b/stack.yaml index 5ddd8012d..18dc83fef 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,4 +1,4 @@ -resolver: nightly-2019-02-27 # GHC 8.6.3 +resolver: nightly-2019-03-02 # GHC 8.6.3 packages: - . - hie-plugin-api @@ -15,11 +15,13 @@ extra-deps: - butcher-1.3.2.1 - cabal-plan-0.4.0.0 - constrained-dynamic-0.1.0.0 +- deque-0.2.7 +- ghc-exactprint-0.5.8.2 - haddock-api-2.21.0 - haskell-src-exts-1.21.0 - hlint-2.1.15 -- hsimport-0.8.8 - hoogle-5.0.17.5 +- hsimport-0.8.8 - monad-dijkstra-0.1.1.2 - monad-memo-0.4.1 - multistate-0.8.0.1