Release notes | Roadmap | Demo Video
Haskelly
is a Visual Studio Code extension that supports Haskell development.
Code highlight
.hs
and .lhs
) and Cabal via automatic dependency on Haskell Syntax Highlighting.Code snippets
data
, newtype
, etc.map
, fold
, etc.Type hovers
Jump to definition
Find references
Code completion :
Integrated REPL, Build, Test and Run commands
GHCi
stack
runHaskell
prop_*
properties with QuickCheck
Stack test
Install the Haskelly VS Code extension.
Install Stack and add it to your PATH. Note that Stack folder naming conventions must be followed for it to work correctly, i.e. capitalizing folder names.
curl -sSL https://get.haskellstack.org/ | sh
Install Intero (code completion and type information), and QuickCheck (test suite)
stack install intero QuickCheck # for a global installation
stack build intero QuickCheck # for a local installation
Haskelly is customizable
(see Code
> Preferences
> Workspace Settings
).
Parameter | Description | Default |
---|---|---|
haskelly.codeCompletion |
Code completion enabled | true |
haskelly.buttons.ghci |
GHCi button shows in the bottom bar |
true |
haskelly.buttons.runfile |
Run file button shows in the bottom bar |
true |
haskelly.buttons.quickcheck |
QuickCheck button shows in the bottom bar |
true |
haskelly.buttons.stackBuild |
Stack build button shows in the bottom bar |
true |
haskelly.buttons.stackBuildParams |
Parameters passed to stack build command |
--fast |
haskelly.buttons.stackRun |
Stack run button shows in the bottom bar |
true |
haskelly.buttons.stackRunParams |
Parameters passed to stack run command |
null |
haskelly.buttons.stackTest |
Stack test button shows in the bottom bar |
true |
haskelly.buttons.stackTestParams |
Parameters passed to stack test command |
null |
haskelly.snippets.important |
Hide code completion for which there's already a snippet | false |
haskelly.snippets.custom |
Add your custom snippets following the structure of this file | null |
haskelly.exec.reuseTerminal |
Reuse the currently opened terminal to run Stack commands | false |
If you'd like to contribute to Haskelly, this is what you can do: