Setting up Reflex with VS Code in WSL

This page summarizes the projects mentioned and recommended in the original post on /r/haskell

Our great sponsors
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SaaSHub - Software Alternatives and Reviews
  • reflex-platform

    A curated package set and set of tools that let you build Haskell packages so they can run on a variety of platforms. reflex-platform is built on top of the nix package manager.

    To clarify the situation, the canonical way to develop reflex-dom projects is to start from the reflex-platform. See here:

  • direnv

    unclutter your .profile

    To get a minimal environment running with your IDE of choice, you should look for plugins which get the IDE "into" the nix-shell. For VSCode, you can try or you can use and

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • vscode-ghc-simple

    Simple GHC (Haskell) integration for VSCode

    Im not sure haskell language server works with reflex right now (haven't used reflex recently). You may ask on IRC or maybe try (haven't used it recently either). For ghcid, I don't think it supports reloading across packages, you can try something like what I did here (basically, having only one cabal file for the whole project and two executable client and server both having two source directories, so during development, you'd only work with ghcid on the server part, putting most of the code that can work on both environment in the common directory).

  • obelisk

    Functional reactive web and mobile applications, with batteries included.

    Sorry, this is plain wrong. obelisk was specifically created by the Reflex-Dom developers to be the canonical way to develop Reflex-Dom projects.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts