<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/whole-project-loading-for-haskell-ide-tooling-hrrtbpacj" -->

---
title: Whole project loading for Haskell IDE tooling | daily.dev
description: Haskell Language Server 2.15.0.0 introduces an opt-in whole-project loading mode that loads all components of a project upfront instead of lazily, avoiding...
canonical: https://daily.dev/posts/whole-project-loading-for-haskell-ide-tooling-hrrtbpacj
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Whole project loading for Haskell IDE tooling | daily.dev
og:description: Haskell Language Server 2.15.0.0 introduces an opt-in whole-project loading mode that loads all components of a project upfront instead of lazily, avoiding...
og:url: https://daily.dev/posts/whole-project-loading-for-haskell-ide-tooling-hrrtbpacj
og:image: https://api.daily.dev/og/posts/HRRTbPaCJ.png
og:image:alt: Whole project loading for Haskell IDE tooling
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Whole project loading for Haskell IDE tooling

**[Planet Haskell](https://daily.dev/sources/phaskell)** · 6 min read · 0 upvotes · 0 comments

## Summary

Haskell Language Server 2.15.0.0 introduces an opt-in whole-project loading mode that loads all components of a project upfront instead of lazily, avoiding session re-initialization pauses when opening files from new components. It's enabled via the new componentsLoading config field set to multi: whole-project, replacing the deprecated sessionLoading option. Haskell Debugger will make whole-project loading the default and only mode in its next release, enabling breakpoints in any project module rather than just the entry point's component. The feature relies on hie-bios >= 0.20, which also introduces a componentsToLoad field for fine-tuning which targets get loaded via Cabal or Stack cradles.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://well-typed.com/blog/2026/09/whole-project-loading-for-haskell-ide-tooling>

## Questions this post answers

### How do I enable whole project loading in Haskell Language Server 2.15?

Set the componentsLoading configuration field to multi: whole-project in your HLS settings. This loads all components of the current project upfront instead of lazily, so information about every module is available from the start and file-opening pauses caused by GHC session re-initialization are avoided. The default remains multi: needed-only, and a single option loads only one component at a time.

_Developers tuning HLS configs can track tooling changes like this one on daily.dev._

### What replaced the sessionLoading option in Haskell Language Server?

The sessionLoading field is deprecated in favor of componentsLoading starting with haskell-language-server-2.15. The old setting sessionLoading: "multipleComponents" is now equivalent to componentsLoading: "multi: needed-only", which remains the default lazy-loading behavior for multi-component sessions.

_Anyone migrating HLS configs can follow deprecations like this via daily.dev._

### Why couldn't Haskell Debugger set breakpoints in library modules before whole-project loading?

Prior to whole-project loading, Haskell Debugger built its session only once it knew the entry point, so in a package with both a library and executable, only the executable's modules were interpreted while the library was installed in a temporary package database purely as a dependency, making breakpoints in library code fail. The next release makes whole-project loading the default and only behavior to fix this.

_Developers debugging multi-component Haskell projects can follow fixes like this on daily.dev._

## Similar posts on daily.dev

- [Haskell Language Server 2.15.0.0 release](https://daily.dev/posts/haskell-language-server-2-15-0-0-release-5g0v5xolp) · The Haskell Programming Language Blog · 0 upvotes · 0 comments
- [Issue 547](https://daily.dev/posts/issue-547-eidkozx95) · Haskell Weekly · 0 upvotes · 0 comments
- [The Haskell Debugger for GHC 9.14](https://daily.dev/posts/the-haskell-debugger-for-ghc-9-14-ceuwjxnk8) · Lobsters · 0 upvotes · 0 comments
- [Haskell ecosystem activities report: December 2025–February 2026](https://daily.dev/posts/haskell-ecosystem-activities-report-december-2025-february-2026-dxnybmmbf) · Planet Haskell · 0 upvotes · 0 comments
- [Haskell ecosystem activities report: March–May 2026](https://daily.dev/posts/haskell-ecosystem-activities-report-march-may-2026-vfwpljwx5) · Planet Haskell · 0 upvotes · 0 comments

---

Tags: [#haskell](https://daily.dev/tags/haskell)

[View this post on daily.dev](https://daily.dev/posts/whole-project-loading-for-haskell-ide-tooling-hrrtbpacj)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Whole project loading for Haskell IDE tooling","url":"https://daily.dev/posts/whole-project-loading-for-haskell-ide-tooling-hrrtbpacj","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/whole-project-loading-for-haskell-ide-tooling-hrrtbpacj"},"datePublished":"2026-09-04T12:46:25.565Z","dateModified":"2026-09-04T12:47:55.299Z","description":"Haskell Language Server 2.15.0.0 introduces an opt-in whole-project loading mode that loads all components of a project upfront instead of lazily, avoiding...","image":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","thumbnailUrl":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","isAccessibleForFree":true,"articleSection":"Planet Haskell","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Planet Haskell","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/cd3e48fb3b974d10993a5b5b8dcb8a08","url":"https://daily.dev/sources/phaskell"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/whole-project-loading-for-haskell-ide-tooling-hrrtbpacj","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"haskell","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Planet Haskell","item":"https://daily.dev/sources/phaskell"},{"@type":"ListItem","position":3,"name":"Whole project loading for Haskell IDE tooling"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/whole-project-loading-for-haskell-ide-tooling-hrrtbpacj#faq","mainEntity":[{"@type":"Question","name":"How do I enable whole project loading in Haskell Language Server 2.15?","acceptedAnswer":{"@type":"Answer","text":"Set the componentsLoading configuration field to multi: whole-project in your HLS settings. This loads all components of the current project upfront instead of lazily, so information about every module is available from the start and file-opening pauses caused by GHC session re-initialization are avoided. The default remains multi: needed-only, and a single option loads only one component at a time. Developers tuning HLS configs can track tooling changes like this one on daily.dev."}},{"@type":"Question","name":"What replaced the sessionLoading option in Haskell Language Server?","acceptedAnswer":{"@type":"Answer","text":"The sessionLoading field is deprecated in favor of componentsLoading starting with haskell-language-server-2.15. The old setting sessionLoading: \"multipleComponents\" is now equivalent to componentsLoading: \"multi: needed-only\", which remains the default lazy-loading behavior for multi-component sessions. Anyone migrating HLS configs can follow deprecations like this via daily.dev."}},{"@type":"Question","name":"Why couldn't Haskell Debugger set breakpoints in library modules before whole-project loading?","acceptedAnswer":{"@type":"Answer","text":"Prior to whole-project loading, Haskell Debugger built its session only once it knew the entry point, so in a package with both a library and executable, only the executable's modules were interpreted while the library was installed in a temporary package database purely as a dependency, making breakpoints in library code fail. The next release makes whole-project loading the default and only behavior to fix this. Developers debugging multi-component Haskell projects can follow fixes like this on daily.dev."}}]}
```

