diff --git a/Changelog.md b/Changelog.md index 78306645..3dcb3a04 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,30 @@ # Changelog for vscode-haskell +## 2.0.0 + +- No colour output for GHCup +([#554](https://github.com/haskell/vscode-haskell/pull/554)) by @fendor +- Add eval plugin configuration +([#549](https://github.com/haskell/vscode-haskell/pull/549)) by @xsebek +- Manage all the Haskell things +([#547](https://github.com/haskell/vscode-haskell/pull/547)) by @hasufell +- Consider user installed HLSes (e.g. via ghcup compile) +([#543](https://github.com/haskell/vscode-haskell/pull/543)) by @hasufell +- Bump lodash-es from 4.17.15 to 4.17.21 +([#539](https://github.com/haskell/vscode-haskell/pull/539)) by @dependabot[bot] +- Update README.MD GHC support +([#537](https://github.com/haskell/vscode-haskell/pull/537)) by @cptwunderlich +- fix: change deprecated Haskell Platform install link to GHCup +([#536](https://github.com/haskell/vscode-haskell/pull/536)) by @HEIGE-PCloud +- Update HLS installation method +([#533](https://github.com/haskell/vscode-haskell/pull/533)) by @hasufell +- Bump ajv from 6.12.0 to 6.12.6 +([#532](https://github.com/haskell/vscode-haskell/pull/532)) by @dependabot[bot] +- Fixes related with paths +([#518](https://github.com/haskell/vscode-haskell/pull/518)) by @jneira +- Reorganize troubleshooting section +([#516](https://github.com/haskell/vscode-haskell/pull/516)) by @jneira + ## 1.8.0 This release includes some interesting new features: diff --git a/README.md b/README.md index abd2baa0..78c89fce 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,15 @@ This extension adds language support for [Haskell](https://haskell.org), powered by the [Haskell Language Server](https://github.com/haskell/haskell-language-server). As almost all features are provided by the server you might find interesting read its [documentation](https://haskell-language-server.readthedocs.io). +## Setup + +This Extension comes with "batteries"-included and can manage your Haskell Language Server installations for you, +powered by [GHCup](https://www.haskell.org/ghcup/). +Installation of [GHCup](https://www.haskell.org/ghcup/) can not happen automatically, so if you want your HLS installations to be +managed by the Extension, you will have to follow the [installation instructions for GHCup](https://www.haskell.org/ghcup/). + +**Note:** Make sure you have a working `ghcup` installation, before launching the Extension. + ## Features You can watch demos for some of these features [here](https://haskell-language-server.readthedocs.io/en/latest/features.html#demos). @@ -78,7 +87,7 @@ first start. Check the `haskell.manageHLS` setting. It will then download the newest version of haskell-language-server which has support for the required ghc. That means it could use an older version than the latest one, without the last features and bug fixes. -For example, if a project needs ghc-8.10.4 the extension will download and use haskell-language-server-1.4.0, the lastest version which supported ghc-8.10.4. Even if the lastest global haskell language-server version is 1.5.1. +For example, if a project needs ghc-8.10.4 the extension will download and use haskell-language-server-1.4.0, the latest version which supported ghc-8.10.4. Even if the latest global haskell language-server version is 1.5.1. If you have disk space issues, check `ghcup gc --help`. @@ -153,13 +162,13 @@ Please include the output when filing any issues on the [haskell-language-server - Sometimes the language server might get stuck in a rut and stop responding to your latest changes. Should this occur you can try restarting the language server with Ctrl shift P/ shift P > Restart Haskell LSP Server. - + #### `Cradle requires ghc/cabal/stack but it isn't installed` - In Linux/MacOS systems, opening vscode in the windows system could not use the `$PATH` set in the shell so it will not see required tools as ghc, cabal or stack. This usually happens if you have installed them - via ghcup. -- It could be fixed changing the `$PATH` variable in the init config file used by the windows system + via ghcup. +- It could be fixed changing the `$PATH` variable in the init config file used by the windows system (f.e. `~/.profile`, but i can vary depending on your system setup). - See [this stackoverflow question](https://stackoverflow.com/questions/43983718/set-global-path-environment-variable-in-vs-code) for more tricks. diff --git a/package.json b/package.json index 71dbdc5b..c7a26aec 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "haskell", "displayName": "Haskell", "description": "Haskell language support powered by the Haskell Language Server", - "version": "1.8.0", + "version": "2.0.0", "license": "MIT", "publisher": "haskell", "engines": { @@ -125,7 +125,7 @@ "scope": "resource", "type": "string", "default": "", - "description": "An optional URL to override where ghcup checks for HLS-GHC compatibilty list (usually at: https://raw.githubusercontent.com/haskell/ghcup-metadata/master/hls-metadata-0.0.1.json)" + "description": "An optional URL to override where ghcup checks for HLS-GHC compatibility list (usually at: https://raw.githubusercontent.com/haskell/ghcup-metadata/master/hls-metadata-0.0.1.json)" }, "haskell.metadataURL": { "scope": "resource", @@ -205,7 +205,7 @@ "scope": "resource", "type": "boolean", "default": true, - "description": "Whether to typecheck the entire project on load. It could drive to bad perfomance in large projects." + "description": "Whether to typecheck the entire project on load. It could drive to bad performance in large projects." }, "haskell.maxCompletions": { "scope": "resource",