Shows errors and warnings from ghcid in the Problems pane and inline as red squiggles in the editor. Updates when files are saved.
Simply run ghcid -o ghcid.txt! -o instructs ghcid to write its output to a file every time it recompiles your code. This extension will automatically find and watch that file for updates.
Alternatively, you can tell VS Code to spawn ghcid in an embedded terminal:
- Get your project working so typing
ghcidin the project root works. If you need to pass special flags toghcid, create a.ghcidfile in the project root with the extra flags, e.g.--command=cabal replor similar. - Run the VS Code command (
Ctrl+Shift+P) named "Start Ghcid".
Requires ghcid to be installed and on your $PATH.
Run:
npm install
npm install -g vsce
rm haskell-ghcid-*.vsix
vsce package
code --install-extension haskell-ghcid-*.vsix
- Create a personal token following the instructions, which involves visiting this page.
- Run
vsce publish -p <token>.
- @ndmitchell Neil Mitchell
- @chrismwendt Chris Wendt