freeman42x / haskell-editor-setup Goto Github PK
View Code? Open in Web Editor NEWEasy instructions for setting up Haskell editors / IDEs on any major operating system.
License: GNU General Public License v3.0
Easy instructions for setting up Haskell editors / IDEs on any major operating system.
License: GNU General Public License v3.0
Has to be Sublime Text 3 since Sublime Text 2 does not have LSP plugin.
<<Casual thought. Is there a way you can distinguish between the different alternatives a bit better? That is, after finishing reading the section about Windows, you go into talking about installing Nix on your OS and still discuss Windows in that section, which gives the impression that it's the next step to follow (...but of course, Nix doesn't work on Windows native and all of the earlier Stack/HIE instructions will need to be done again if you do want to install Nix inside WSL or a VM).
From the Reddit thread, I can kind of tell (wink) that you want to encourage people not to develop on Windows. So maybe you can title the sections:
Or even put your recommended install method first and the Windows alternatives toward the bottom>> - _Pete on Discord
Maybe add a section comparing these options as well, so something like ‘WSL doesn’t require complex setup but is command-line only by default, a VM gives a more complete experience but can require some complex setup and takes up more memory, Windows-only can be more convenient to set up but can lead to build difficulties’. - brdcrn
Folder structure: OS/Linux/Debian.hs
, OS/Linux/NixOS.hs
Refactor NixOS specific code into NixOS.hs and write the Debian code in the Debian.hs file.
Use Nix to install everything.
Add the Nix packages to ~/.nixpkgs/config.nix
or whatever config file the user is using.
Implement using either Powershell, CMD or some Haskell script (Turtle Script?)
[Bounty: 8 Euro]
Point out the another way of enabling Win32 long paths (see Option 2).
Install VSCode with the extension mentioned here: https://github.com/fairy-tale-agi-solutions/haskell-editor-setup#visual-studio-code-vscode-setup-difficulty-trivial
[Bounty: 5 Euro]
Add a guide how to enable Group Policy on Windows Home (including other versions except Professional) .
This might be generating a .deb
file. You will have to look into it.
For generating .deb
: https://hackage.haskell.org/package/cabal-debian
The levels at which NW.js system level installation could be done are: .deb file, nix configuration, cabal configuration or using Haskell code when program is run first time. You will have to think which option would be best and discuss it before you implement it.
[Bounty: 12 Euro]
See: #5
As a Haskell developer, I want the ability to use an appropriate linux base image, and build a docker image that will include the Haskell compiler, Cabal, Git, and other useful tools, so that I can easily write Haskell applications on any machine capable of using the docker container. Optionally include Nix configuration files such that these tools will be pulled in when accessing the nix-shell.
Having setup instructions is good but it would be best to have the option of having a GUI where the desired options can be chosen and then automated setup based on target OS/WSL and target editor(s) desired will be run.
To do this we can create a setup Haskell GUI program using Turtle and other needed libs.
Anything that can be automated should be automated, beep bop
- Future Robot Overlords
We are just going to go with Miso + Electron
Instead of running the GUI in the browser at http://localhost:8080/ change so that it will run in a NW.js window.
To run the app use turtle library to start nw
program after starting the server, and then use cabal run
for example.
Package using Nix so that the project can be published to Nixpkgs.
The Nix packaging should ideally work on all the Linux distributions.
This video might be helpful: https://www.youtube.com/watch?v=fLQu8oF1rKA
[Bounty 15 Euro]
After selecting the desired Editor and plugins configuration and pressing the Install button the progress should be shown in a textbox.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.