jasongilman / proto-repl

A Clojure Development Environment package for the Atom editor
https://atom.io/packages/proto-repl
MIT License
563 stars 50 forks source link

Total Newbie, I couldn't connect the proto-repl #333

Closed aimanuel closed 3 years ago

aimanuel commented 3 years ago

Hi @jasongilman or anyone,

I'm still newbie here, i tried to connect it to lein path image here's what inside the path image

but when i try to execute the code (shift+enter) it does nothing.

here's a screenshot of my atom & cmd image

please help? thanks a lot regards

Adrian

aimanuel commented 3 years ago

Okay, i've solved it. This is a step by step with screenshot.

  1. copy 'lein.bat' into path C:\Users\~.atom\packages/proto-repl/proto-no-proj. follow yellow square in screenshot
  2. open proto-repl.coffee in C:\Users\~.atom\packages\proto-repl\lib through atom. look for line 28. make sure the block is as below code. change lein to become lein.bat (see pink square) leinPath: description: 'The path to the lein executable.' type: 'string' default: lein.bat
  3. Save & restart atom, then run proto-repl again, hope fully it's okay.

PS : you can also start lein repl in your cmd through this path as well C:\Users\~.atom\packages/proto-repl/proto-no-proj

phew takes me 8 hrs to figure out... i'm so stupid

image