Skip to content

Visual Studio Code with vscode-ghc-simple #70

@treffynnon

Description

@treffynnon

This could just be a big time suck and not helpful for the course itself, but here goes anyway.

This is the tool I was talking about at the course the other day (kinda like dante, but for vscode instead of emacs): https://github.com/dramforever/vscode-ghc-simple

I was running:

  • Mac OS
  • nix-shell

I tried setting it to use cabal for the vscode project workspace, but it still wasn't initialising. The fp-course does with this vscode extension, but please note I was not using nix-shell for that one!

For ghcid with the applied course it was working with:

$> nix-shell
$ nix-shell> ghcid -c 'cabal new-repl'

so I suspect that if it was just run without nix, but with cabal directly it might work - I've not had a chance to test this theory however.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions