![]() If you have a non-standard installation location for your tools, you can configure this in SublimeHaskell's “User Settings” by adjusting add_to_PATH. SublimeHaskell will use these values if configured and if the directories to which they refer exist. More advanced users can configure cabal's user and global install paths in $HOME/.cabal/config. SublimeHaskell will also look for these tools in several “Haskell standard” places. Tools ( cabal, hsdev, ghc-mod, ghc, etc.) are usually installed in a directory that is already added to your PATH environment variable. stylish-haskell ( cabal install stylish-haskell).SublimeREPL package for REPL support, if you want to interact with GHCI from within SublimeText.stack is a companion Haskell build tool that supplements cabal. If you installed the Haskell Platform, you already have this installed. Open a Haskell source file, cabal builder file or a stack.yaml builder and have a productive Haskell development session! Optional Tools Use Package Control to install SublimeHaskell.Install the Sublime Package Control package:.Ghc-mod (for import and LANGUAGE completions and type inference, cabal install ghc-mod, not used if hsdev enabled, ghc-mod is used by hsdev as a library) with stack - create config (for example, hsdev.yaml) with contents:Īnd then run stack install hsdev -stack-yaml hsdev.yaml.Hsdev cabal package for inspection, enhanced completion, goto, symbol info etc. You can use one of the deprecated backends, but know that support for these backends may be dropped or removed in a future SublimeHaskell release. ![]() SublimeHaskell communicates with the backend to support the interesting editing features. Under normal circumstances, cabal should come pre-installed with your Haskell environment, e.g., if you installed the Haskell Platform.Ī backend. Preferably, you should install the Haskell Platform if you don't already have a Haskell development and hacking environment set up. or you may install Haskell Platform (includes cabal build tool):.stack will install ghc automatically, so there's no need to install GHC independently:.You will need to install either the GHC Haskell compiler and cabal either stack build tool and a backend before you install SublimeHaskell. Quick link => SublimeHaskell's Documentation Setup Required (Before You Install SublimeHaskell)
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |