wasp icon indicating copy to clipboard operation
wasp copied to clipboard

Provide workspace configs for text editors

Open FranjoMindek opened this issue 5 months ago • 9 comments

Currently, it takes a bit of configuration to get all tooling around wasp working. Especially around Haskell whose tooling is less supported by text editors.

We should provide config files for often used text edits which would solve above problems. e.g. .vscode for VSC

Even better if they could include recommendations for all extensions needed to work with wasp normally. e.g. .vscode\extensions.json for VSC

This would solve issues around:

  1. Which formatters to use (e.g. ormolu for Haskell, which is not default)
  2. Setting up formatters (e.g. pointing to wasp's local ormolu binary)
  3. Setting up right Haskell environment (e.g. use GHCup)
  4. Wasp packages
    • e.g. wasp extension for VSC has wasp.server.executable which allows it to grab AppSpec from local development version of binary, which is necessary to test any AppSpec changes with wasp extension for VSC

TODO: any more issues solved by this? TODO: which text editors to support? should each be it's own issue with this being an parent issue?

FranjoMindek avatar May 21 '25 14:05 FranjoMindek