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
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • 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: https://github.com/reflex-frp/reflex-platform/blob/develop/docs/project-development.rst

  • 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 https://marketplace.visualstudio.com/items?itemName=arrterian.nix-env-selector or you can use https://direnv.net/ and https://marketplace.visualstudio.com/items?itemName=Rubymaniac.vscode-direnv.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • 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 https://github.com/dramforever/vscode-ghc-simple (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 https://github.com/aveltras/blog-reflex/blob/master/blog-reflex.cabal (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