Commit Graph

180 Commits

Author SHA1 Message Date
Jan Hrček
3b24251536 Cleanup CI configs and cabal files 2024-06-20 09:03:31 +01:00
Michael Peyton Jones
e5f3455b95 Update docs 2024-06-20 09:03:31 +01:00
fendor
287ee42ab5
Prepare release 2.9.0.0 (#4319)
* Prepare release 2.9.0.0

* Bump 'bytestring' version for release CI test scripts

The older 'bytestring-0.11.1.0' version doesn't compile with the recent
GHC 9.10.1 release. Bump the version to '0.12.1.0' which can be
successfully compiled on all supported GHC versions.

* Update supported GHC version table

* Move plugin ghc support conditionals into .cabal file

Having them in the cabal.project file is a very neat way to
enable/disable a plugin, but it negatively affects Hackage users as they
can no longer trivially install HLS from Hackage.

This discussion might be revisited in the future, but not during a
release process.

* Disable tests and benchmarks in release test pipeline

On some platforms, building bytestring-0.12.1.0 is not fully supported
yet. Hence, we disable tests and benchmarks, to allow building on the
platform Windows with GHC 9.10.1.

* Always show debug output in release test ci

* Upgrade cabal version in the release pipeline

* Switch to `text` for release test package

---------

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
2024-06-19 10:35:14 +02:00
Julian Ospald
da3d7f27ea
Refine GHC deprecation policy (#3438)
* Refine GHC deprecation policy

* Update docs/support/ghc-version-support.md

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>

* Update docs/support/ghc-version-support.md

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>

* Reword to support status, as this is mentioned above

* Include ghcup recommended version in support discussion

* reword

* Reword

---------

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
Co-authored-by: Fendor <fendor@posteo.de>
Co-authored-by: soulomoon <fwy996602672@gmail.com>
2024-06-15 12:11:18 +01:00
wz1000
2b8f3438ca
Prepare release 2.8.0.0 (#4191)
* Prepare release 2.8.0.0

* try maerwald runners

* Update version support

* Schedule nightly job to run weekly instead of daily

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-05-10 22:22:19 +00:00
Michael Peyton Jones
334b4d4c7d
Remove EKG (#4163)
It's always been a pain and it's not really used.

Fixes #3993
2024-04-07 20:16:55 +02:00
Jan Hrcek
46ad85b1eb
Update contact info in docs (#4137)
* Update contact info in docs

* Mention primary/secondary
2024-03-12 17:43:13 +01:00
Jan van Brügge
03d418c92c
hls-notes-plugin: Initial implementation (#4126)
* hls-notes-plugin: Initial implementation

* hls-notes-plugin: add to feature list and plugin table

* hls-notes-plugin: Add more documentation comments

* hls-notes-plugin: Fix tests after #3846, add CI job

* hls-notes-plugin: Address review comments

* hls-notes-plugin: Allow Note definition within single line comments

* hls-notes-plugin: Improve "Note not found" error message

* hls-notes-plugin: Allow single line notes to be indented

* treewide: Add missing underscores to note definitions

* hls-notes-plugin: Wait until HLS is done in tests

* hls-notes-plugin: Fix tests on windows

The regex did not allow windows line endings in note definitions

---------

Co-authored-by: Jan Hrcek <2716069+jhrcek@users.noreply.github.com>
Co-authored-by: fendor <fendor@users.noreply.github.com>
2024-03-11 15:19:51 +00:00
Fendor
59ae88ad85 Generate ChangeLog, update supported GHC versions 2024-02-27 15:17:05 +01:00
Mo Kweon
17aadba757
fix: a typo in docs/configuration.md (#4029) 2024-01-31 12:17:07 +01:00
Jan Hrcek
4b69dfbdd5
Fix documentation/image links (#4025)
* Fix documentation/image links

* Fix sphinx warnings
2024-01-30 11:38:14 +01:00
Patrick Wales
a3e1f8a800
fix doc for semantic token (#4011) 2024-01-24 11:15:43 +00:00
Michael Peyton Jones
a253f1f9e7
Various 9.8 compat (#3998)
* Stylish-haskell now supports 9.8

* Ormolu and fourmolu already support 9.8

* New version of floskell in fact builds with 9.8

* New hlint builds with 9.8
2024-01-21 11:51:50 +00:00
Michael Peyton Jones
98efc37d26
Update support tables (#3987)
Now @wz1000 has fixed the exactprint plugins I think we can declare full
support for 9.8.
2024-01-20 20:35:39 +00:00
Zubin Duggal
db8efbe032 Update ghc version support docs 2024-01-16 00:35:59 +05:30
Patrick Wales
1c62ba32d4
add config for semantic-tokens-plugin for mapping from hs token type to LSP default token type (#3940)
* add config for semantic tokens for mapping between hs token type to LSP default token type

* fix Missing features header

* Delete plugins/hls-semantic-tokens-plugin/test/testdata/TDatatype.hs

* Delete plugins/hls-semantic-tokens-plugin/test/testdata/TDatafamily.hs

* Delete plugins/hls-semantic-tokens-plugin/test/testdata/TPatternsyn.hs

* update doc

* fix ghc96 schema generation

* remove typedata and add ghc98 scheme generation test file

* Ajust case in mappings

* add ghc92 generate scheme

* add ghc94 generate scheme

* cleanup

* modify the lspTokenReverseMap to take semantic config

* rename fromLspTokenType to lspTokenTypeHsTokenType

* add description for semantic tokens mappings config

* fix doc and cleanup

* delete content for /test/testdata/schema for now, since we are modifying the configuration

* semantic config keys use lower case in the first element

* add config generation scheme test

* fix config generation scheme test

* ajust names for semantic tokens

* add token suffix to token type configuration

* cleanup

* fix merge
2024-01-14 19:23:03 +00:00
Patrick Wales
b645a99ece
add doc and ci test for semantic tokens (#3938)
* add doc and ci test for semantic tokens

* fix, semantic tokens test files, case sensitivity issue
2024-01-10 10:01:06 +01:00
Devin Lehmacher
7b4f54d8eb
Update ghc-version-support.md for 2.5.0 (#3909)
2.5.0 added support for 9.4.8 but this isn't listed on the supported versions page yet.
2023-12-17 17:21:47 +00:00
Michael Peyton Jones
bcb83e9744
Remove some buildability blockers that aren't needed (#3899)
* Floskell buildable on 9.6

* Ormolu supports 9.8

* Fourmolu supports 9.8

* Fix some conditional logic

* Fix stack

* Fix a cabal file

* more fix stack

* More

* Grumble spelling

* More stack

* Argh

* Bump index-state, remove some allow-newers

* boo

* More

* Redo stack deps entirely
2023-12-13 16:36:00 +00:00
Michael Peyton Jones
c3fcc3e862
Drop support for GHC 9.0 (#3875)
* fix dodgy macro

* Automatically remove macros for 9.2

* Manual GLASGOW_HASKELL bits

* Remove from CI

* Remove from docs

* Remove from release CI

* fix positions

* Some simplification in ghcide

* Maybe fix

* Maybe this

* WIP

* More
2023-11-20 11:10:24 +00:00
0rphee
2dfd661a7b Update hls-stan-plugin bounds 2023-11-18 09:36:38 -06:00
0rphee
0ec34f0f60
Merge branch 'master' into re-add-stan 2023-11-18 00:49:32 -06:00
Michael Peyton Jones
b8217adea5
Fix support tables (#3874) 2023-11-16 12:18:11 +00:00
Michael Peyton Jones
fb11328292
Reduce Nix support (#3804)
This removes the support for:
- Dev shells with pre-built packages
- Building binaries

These have been almost continually broken, and nobody is really
maintaining them. Better to just do the simple thing we can do reliably,
which is to provide dev shells.

Closes #3800
2023-11-14 13:48:57 +00:00
0rphee
300559b66c Re-add hls-stan-plugin info to docs 2023-10-31 10:45:13 -06:00
0rphee
2cb98aa420 Re-add deleted stan files from #3782 2023-10-23 14:43:23 -06:00
Zubin Duggal
a63a1dd250 Update docs 2023-10-10 23:01:28 -07:00
wz1000
d983c89154
Release 2.3.0.0 (#3818)
* Prepare release 2.3.0.0

* release ci: respect ADD_CABAL_ARGS on non-windows builds

* release ci: disable simdutf text for centos

* release ci: disable simdutf text for freebsd

* Fix cabal file of hls-fourmolu-plugin to allow it to be uploaded to hackage

Fixes #3819

* Update ghc version support docs

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-10-06 12:11:38 +00:00
Julien Debon
5241101130
Add support for external Ormolu (#3771)
Related to https://github.com/haskell/haskell-language-server/issues/411

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
2023-09-14 11:44:54 +01:00
maralorn
cc0d4ee953
Update links to Nix documentation (#3805) 2023-09-12 16:03:18 +01:00
Fendor
95dd591e0e Remove GHC 8.10.7, 9.4.5 and 9.4.6 from release CI 2023-09-04 19:53:25 +02:00
fendor
9cdc7ed499
Enhance/releasing checklist (#3781)
* Add supported table in GHCup instructions

* Update ghc-version-support table

---------

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
2023-09-01 11:42:14 +01:00
Michael Peyton Jones
861aba7bc5
Drop support for GHC 8.10 (#3434)
* Drop support for 8.10

* Fixes

* Try to fix wrapper test

* Try to fix wrapper test

* Fix
2023-08-31 09:36:18 +01:00
Michael Peyton Jones
bfaecfd03c
Delete hls-haddock-comments-plugin, hls-stan-plugin, and hls-tactics-plugin (#3782)
* Delete hls-haddock-comments-plugin

* Delete hls-stan-plugin

* Delete hls-tactics-plugin

* Fix a warning

* Delete some wingman stuff

* Workflows
2023-08-30 12:17:22 +01:00
Julien Debon
e516937e6c
Rework "Configuration" and "Manually testing HLS" documentations (#3772)
* Rework "Configuration" and "Manually testing HLS" documentations

* HLS uses implicit-hie when no `hie.yaml` is present

* Rework manual explicit configuration

* Move to troubleshooting
2023-08-24 10:17:24 +01:00
fendor
9c56c3c0c6
Prepare release 2.1.0.0 (#3748)
* Prepare release 2.1.0.0

* Update release ghc versions

* Fix release CI for unknown linux

* Generate ChangeLog from 2.0.0.0

* Update notable changes in ChangeLog

* Update index-state

* Add environment for vars context

* Free up disk space after running test

* Expand release notes

* Update supported ghc version page

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-12 10:40:41 +00:00
Nathan Maxson
6111a100ab
Add resolve support in refine imports by merging it with explicit imports (#3729) 2023-08-01 01:03:08 +00:00
Lei Zhu
e9cc4e07fc
Mark hls-floskell-plugin as tier 3 (#3705) 2023-07-11 15:27:53 +01:00
Pi Delport
feb596592d
docs (plugin-support): fix plugin name typo (#3683)
hls-overloaded-record-dot-plugin
2023-07-04 16:53:44 +01:00
Julian Ospald
ae0ad80877 Update GHC version support table 2023-06-30 16:41:02 +02:00
Lei Zhu
dcd2ca9df7
Ship hls-hlint-plugin for ghc-9.6 (#3677)
* Ship hls-hlint-plugin for ghc-9.6

* Add tag for specific tests
2023-06-28 15:34:31 +00:00
Michael Peyton Jones
aff3d2ead8
Enable stylish-haskell for 9.6 (#3670)
There is a 9.6-compatible release now.
2023-06-25 16:28:27 +01:00
Michael Peyton Jones
1edc75741c
Bump supported ormolu, allow for 9.6 (#3668)
* Bump supported versions of ormolu and allow for 9.6

* Update plugin support doc

* Fix test workflow too
2023-06-24 11:04:47 +01:00
VeryMilkyJoe
9f0e3bbd55 Update Contributing.md
Add instructions for specifying local hls executable to be used in VS Code
project
2023-06-14 12:12:08 +02:00
Nathan Maxson
1edb4892a6
overloaded record dot plugin intial version (closes #3350) (#3560)
* overloaded record dot plugin initial version (closes #3350)

* Added support to GHC 9.2, and updated documentation

Also, update the CI to test overloaded-record-dot-plugin
and added overloaded-record-dot-plugin to stack.yml

* Apply suggestions from Lei Zhu (July541)

Co-authored-by: Lei Zhu <julytreee@gmail.com>

* Use GHC2021 and updated gif

* Fix test.yml formatting problem

* use coerce instead of unExt (from michaelpj)

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>

* Implements michaelpj code review suggestions

* Collect records on lists instead of maybe
This way we don't need to switch back and forward between the two,
and we can also return more than one match from inside a HsExpanded

* Added documentation

* Reworded comments for spelling and clarity

* use useWithStale for the TypeCheck rule

* Update version to conform with changes on master

* No longer depend on specific hls package versions

* Fixed comments and line length issues

* Added test for HsExpanded expressions

---------

Co-authored-by: Lei Zhu <julytreee@gmail.com>
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
2023-05-26 10:58:17 +00:00
Lei Zhu
b433e0acea
Move to ghc-9.4.5 and drop ghc-9.4.4 (#3591)
* ghc-9.4.5

* Bump setup action
2023-05-14 17:54:06 +08:00
Michael Peyton Jones
c841c45855
Try to fix the docs build (#3576) 2023-05-05 06:21:24 +00:00
Lei Zhu
35621b8e00
Update docs about support status (#3544)
* Update GHC version support

* Update plugin support

* Remove outdated log
2023-04-05 11:40:54 +01:00
Malvin Gattinger
2e7961932e
Docs: update Emacs section: add eglot with config example (#3509)
* Docs: update Emacs section: add eglot with config example

Based on the discussion at https://github.com/haskell/haskell-language-server/issues/3157

* Update docs/configuration.md

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>

---------

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
2023-03-02 09:14:22 +00:00
Michael Peyton Jones
f8e954eb06
Eval plugin is now supported in 9.4 (#3508) 2023-02-28 09:56:46 +00:00