7
u/doppioslash Jan 02 '17
terminal emacs with psc-ide-emacs.
It's got:
syntax highlighting
autocompletion
errors squiggly lines and list
auto import
and more, see the readme.
Here are my dotfiles.
3
1
u/lambda_foo Jan 11 '17
I'm using an OSX Emacs with minimal purescript-mode setup. Really like the look of that psc-ide-emacs, how well does the show-type work in your experience?
1
u/doppioslash Jan 11 '17
Great actually, it never failed me, as far as I an remember. Also more great stuff is coming to psc-ide.
4
u/robertmassaioli Jan 02 '17
Atom. Works reasonably well for my simple programs; has good add-on support.
purescript-ide seems a little flakey though.
4
u/chexxor Jan 02 '17
Vim with vim-purescript and vim-psc-ide plugins. Works so good. There are some inconvenient vim things that I'd like to fix sometime, e.g. the type signature pane doesn't auto-disappear when I move my cursor.
I expecially like that selecting a function from omnicomplete doesn't auto-import it. I've tried Atom and it's auto-import on auto-complete drives me crazy b/c it suggests after every character typed, which breaks the enter-for-newline when I've typed a word for which longer auto-complete exists.
2
u/gilmi Jan 02 '17
I use evil-emacs + purescript-mode + psc-ide-emacs + flycheck-purescript. My emacs config files are here.
I used this guide to get started with configuring an emacs setup.
Sometimes I use pscid as well.
1
u/Ptival May 21 '17
Is flycheck-purescript even working today? It seems psc was renamed purs and the options have completely changed.
1
u/gilmi May 21 '17
my config haven't changed, my purs version is 0.11.4 and everything is working for me.
I have also included these scripts in my
PATHso you might want to do the same.1
u/Ptival May 21 '17
Thanks.
It seems that one of purescript-mode or psc-ide is doing the flycheck job. I just removed flycheck-purescript from my packages, and it all works well.
1
2
1
u/attilah May 16 '17
Thanks for the suggestions, I'm currently gearing up to work on a purescript project in order to learn more of the language, and was wondering how easy it is to use for newbies or people not familiar with emacs.
6
u/dmsnell Jan 01 '17
Visual Studio Code provides for me a nice environment:
syntax highlighting
error message popups (can be finicky if using a large font though)
warning and error indications with colored squiggly lines under the code
and it provides just about everything else I would expect from a lightweight editor.