Skip to content

Prepare release 2.0.0 #546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/).
Comment on lines +12 to +13
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hasufell This is now the first thing new users see, I don't think that's great, but better than nothing


**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).
Expand Down Expand Up @@ -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`.

Expand Down Expand Up @@ -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 <kbd>Ctrl</kbd> <kbd>shift</kbd> <kbd>P</kbd>/<kbd>⌘</kbd> <kbd>shift</kbd> <kbd>P</kbd> > 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.

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down