在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):guardians-of-life/haskell-editor-setup开源软件地址(OpenSource Url):https://github.com/guardians-of-life/haskell-editor-setup开源编程语言(OpenSource Language):Haskell 69.3%开源软件介绍(OpenSource Introduction):Haskell Editor / IDE SetupTechnologies usedCommunity LinksProgress TrackingContributorsThis project exists thanks to all the people who contribute. [Contribute]. Automated: Haskell Editor Setup GUI programWork on creating a Haskell Editor Setup GUI program is in process, you can track progress here: HES Project Kanban How Haskell Editor Setup will work - One click install:
The goal of this software is mainly to allow easy editor / IDE setup for whoever tries Haskell for the first time. Usefulness and features of the project
"Everything that can be automated should be automated" - Future Robot Overlords Implementation progress for Atom editor:
DonationsYou can donate to support work on Haskell Editor Setup using: https://opencollective.com/fairy-tale-agi-solutions All the incoming and outgoing expenses for the organization can be seen at the page above. The donation money will be used for funding the payment for the bounties for tickets on this project. BountiesA bounty is a sum of money which will be rewarded on successful completion of an issue. The bounty issues are marked with After your PR has been merged to claim a bounty reward, submit an expense using the OpenCollective link above and mention:
Very important is to attach an invoice to the expense. Send me an email at [email protected] and I will give you the details you need to fill in the invoice. Make sure to specify in the email for which pull request the invoice is. Use an invoice generator for example to create the invoice. Make sure you are following all the laws in your country regarding emitting invoices. I will start by paying developers the following amounts for their work on issues:
At the beginning the payments will be mainly symbolic for the developed countries yet better than average pay for non-developed ones. Important note: Because of transfer fees and VAT it is probable that the sum received will be smaller than the one specified in the ticket. Over time as this project becomes more successful and money starts flowing in through donations we will increase the pay / hour to further accelerate the pace of progress and make bounties more attractive for everyone. Manual instructions for setting up Haskell editors / IDEHIE together with compatible plugins usually offers more features than the average Haskell multi-feature plugin + compatible plugins. Some exceptions are: IntelliJ IDEA which has a very good set of features (and HIE does not have an IDEA plugin yet) and Leksah (which also does not have a HIE plugin but offers quite a lot of features itself). To see a list of Haskell IDE Engine features see: HIE features For a list of editor / IDE features see: rainbyte/haskell-ide-chart Choose your operating system and continue the steps required for it: WindowsInstall Git
Enable Win32 long pathsOn Windows Professional
On Windows Home or Starter
Haskell Tool StackInstall the
Install Haskell IDE Engine
Continue with installing the editor / IDE of your choiceInstall Nix on your operating systemNix is a package manager that is very good at doing successful installs. If you require any system level libraries to use in the project you are working on it is recommended to use Nix to provide them and then do your development inside a Doing Haskell development on Windows is not recommended since many Haskell packages have issues building on Windows. For doing development while using Widnows as your OS the recommended options are to use either a VMWare virtual machine (preferred) or Windows Subsystem for Linux (unrecommended since the build times are much slower). Developing on Linux or MacOS should work fine. To install Nix in your OS run: curl https://nixos.org/nix/install | sh Install GHC and cabal-installCreate the file with import <nixpkgs> {};
{
allowUnfree = true;
packageOverrides = pkgs: rec {
all = pkgs.buildEnv {
name = "all";
paths = [
haskell.compiler.ghc865
haskellPackages.cabal-install
binutils.bintools # required on WSL
];
};
};
} And run following command to install the nix-env -i all Install the editor / IDE of your choiceEditors that are easy to set up are Atom, Visual Studio Code, IntelliJ IDEA Community or Sublime Text 3. Editors / IDEs list and their Nix package name:
To install:
Continue with:
Install Haskell IDE Engine executableIn all-hies = import (fetchTarball "https://github.com/infinisil/all-hies/tarball/master") {}; and add following to the list of packages - change the GHC list to the ones you will want to have available (eg. (all-hies.selection { selector = p: { inherit (p) ghc865; }; }) if you wish to install HIE for all GHC versions because you switch between projects with different GHC versions a lot then you can use this instead: (all-hies.selection { selector = p: p; }) installing all HIE versions will take a long time to install after adding HIE your configuration should look something like the following: with import <nixpkgs> {};
let
all-hies = import (fetchTarball "https://github.com/infinisil/all-hies/tarball/master") {};
unstable = import <nixpkgs> { inherit config; };
in
{
allowUnfree = true;
packageOverrides = pkgs: rec {
all = pkgs.buildEnv {
name = "all";
paths = [
binutils.bintools # required on WSL
haskell.compiler.ghc865
haskellPackages.cabal-install
unstable.haskellPackages.stack
unstable.haskellPackages.cabal2nix
haskellPackages.hoogle
haskellPackages.ghcid
(all-hies.selection { selector = p: { inherit (p) ghc865; }; })
];
};
};
} run Install the extensions for your editor / IDE that help with Haskell developmentAtom (setup difficulty trivial)
Visual Studio Code (VSCode) (setup difficulty trivial)
Installing Hasklig fonts on Windows:
Enabling Hasklig fonts:
Alternatives to HIE:
Emacs (setup difficulty hard)Alternatives to HIE:
Spacemacs
Alternatives to HIE:
Neovim (setup difficulty hard)Alternatives to HIE:
Vim (setup difficulty hard)Alternatives to HIE:
Leksah (setup difficulty hard)IntelliJ IDEA Community (setup difficulty easy)
Sublime Text 3 (setup difficulty normal)
Alternatives to HIE:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论