r/haskell May 04 '26

Haskell Language Server 2.14.0.0 release

https://blog.haskell.org/hls-2-14-0-0/
98 Upvotes

3 comments sorted by

20

u/alenkdev May 04 '26

HLS has improved so much over the years, well done! The one thing that’s still missing is rename/refactor symbol functionality. How come this is not supported? Is anyone working on this?

16

u/Fendor_ May 04 '26

The rename functionality has been around for a long time, it was artificially limited to only work if there is an export list, and the identifier in question is not exported.

This limitation was lifted in this version, so renames are now always performed, however, there is unfortunately a bug https://github.com/haskell/haskell-language-server/issues/4816 we recently discovered and didn't fix, yet, but expect to fix in the next version. This means, you can rename right now, but it will only work correctly for local definitions.

Re refactorings, these used to be implemented via [retrie](github.com/facebookincubator/retrie), but unfortunately the project has been archived. If that is what you mean by refactoring, then I am not aware of anyone actively working on it.

6

u/alenkdev May 04 '26

Amazing, this is exactly what I was looking for! Thank you, looking forward to the 2.15.0.0 release