Skip to content

Prepare 0.15: fix get project ghc version progress and warning about ghc-9 #414

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

Merged
merged 8 commits into from
Jul 27, 2021
Merged
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
6 changes: 6 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### 1.5.0

- Emit warning about limited support for ghc-9.x on hls executable download
- Fix `working out project ghc` progress notificacion
- Fix tactics config, thanks to @isovector

### 1.4.0

- Restore `resource` scope for `haskell.serverExecutablePath` temporary. The `machine` scope will be set again after giving users a period of time to let them adapt theirs workflows and changing or adding some option in the extension itself to help that adjustement (see #387).
Expand Down
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ This extension adds language support for [Haskell](https://haskell.org), powered
If your server is manually installed and not on your path, you can also manually set the path to the executable.

```json
"haskell.serverExecutablePath": "~/.local/bin/hie"
"haskell.serverExecutablePath": "~/.local/bin/haskell-language-server"
```

There are a few placeholders which will be expanded:
Expand All @@ -61,7 +61,7 @@ There are a few placeholders which will be expanded:

#### Security warning

The option has scope `resource` scope so it can be changed per workspace.
The option has `resource` scope so it can be changed per workspace.
This supposes it could be used to execute arbitrary programs adding a `.vscode/settings.json` in the workspace folder including this option with the appropiate path.
For this reason its scope will be changed to `machine` so users only will be able to change it globally.
See #387 for more details.
Expand Down Expand Up @@ -109,16 +109,18 @@ Note that if `haskell-language-server-wrapper`/`haskell-language-server` is alre

These are the versions of GHC that there are binaries of `haskell-language-server` for. Building from source may support more versions!

| GHC | Linux | macOS | Windows |
| ------ | ----- | ----- | ------- |
| 8.10.4 | ✓ | ✓ | ✓ |
| 8.10.3 | ✓ | ✓ | ✓ |
| 8.10.2 | ✓ | ✓ | ✓ |
| 8.8.4 | ✓ | ✓ | ✓ |
| 8.8.3 | ✓ | ✓ | |
| 8.8.2 | ✓ | ✓ | |
| 8.6.5 | ✓ | ✓ | ✓ |
| 8.6.4 | ✓ | ✓ | ✓ |
| GHC | Linux | macOS | Windows |
| -------------------------------------------------------------------------------- | ----- | ----- | ------- |
| 9.0.1 ([limited](https://github.com/haskell/haskell-language-server/issues/297)) | ✓ | ✓ | ✓ |
| 8.10.5 | ✓ | ✓ | ✓ |
| 8.10.4 | ✓ | ✓ | ✓ |
| 8.10.3 | ✓ | ✓ | ✓ |
| 8.10.2 | ✓ | ✓ | ✓ |
| 8.8.4 | ✓ | ✓ | ✓ |
| 8.8.3 | ✓ | ✓ | |
| 8.8.2 | ✓ | ✓ | |
| 8.6.5 | ✓ | ✓ | ✓ |
| 8.6.4 | ✓ | ✓ | ✓ |

The exact list of binaries can be checked in the last release of haskell-language-server: <https://github.com/haskell/haskell-language-server/releases/latest>

Expand Down
Loading