pux-starter-app icon indicating copy to clipboard operation
pux-starter-app copied to clipboard

Integration with editors.

Open leohahn opened this issue 8 years ago • 5 comments

I just cloned this repository and it works wonders. I was wondering how would it be to check purescript typecheck errors. Using pulp generally I use pulp build with json-errors together with an Editor like Atom, however this template does not use pulp.

  • Did you manage to integrate it an editor (to show linting errors, etc.) or you just look at the errors on the log from npm start?

leohahn avatar Apr 11 '16 19:04 leohahn

I just released v4.2.0 which includes updated purs-loader and purescript-webpack-plugin dependencies. This new version reports build errors in the browser so that you don't have to switch back to the terminal. So I'd update to the latest version of pux-starter-app first.

If you want better integration with Atom I would checkout https://github.com/nwolverson/atom-ide-purescript

alexmingoia avatar Apr 12 '16 01:04 alexmingoia

Awesome! I will give it a try.

leohahn avatar Apr 12 '16 14:04 leohahn

Tooltips in atom-ide-purescript are not showing for me. I guess this is because it relies on pulp?

endeavour avatar Jun 14 '16 16:06 endeavour

@endeavour I'm not sure. It's not an issue with Pux. You should open an issue with atom-ide-purescript.

alexmingoia avatar Jun 14 '16 17:06 alexmingoia

I got this working by adding

"pulp": "^8.0.0"

to my package.json devDependencies, then adding

node_modules/.bin

to my PATH before launching atom to make sure the local npm version of purescript is used and not the globally installed one.

endeavour avatar Jun 15 '16 10:06 endeavour