I've created a C# layer for proton using omnisharp-atom, but it looks like omnisharp-atom's testing functionality isn't working quite yet. Is it okay if I just leave that portion commented out.
sure!
we have a few layers that are very minimal on functionality but get better over time
before linting and stuff, clojure layer for example was just parinfer
@dvcrn yes, package install works fine.
how do I add a layer in proton
specifically, I don't know how to "Add :lang/clojure to your layers."
Perhaps one needs to be better versed in Atom than I am to really make use of Proton?
@meow: you will need to edit the file .proton
in your home directory.
You can have proton open that for you by pressing SPC f e d
or SPC _ d
once proton is loaded.
Once that file is open you will see something like this https://github.com/dvcrn/proton/blob/master/plugin/templates/proton.edn#L9-L51
Adding :lang/clojure
to the layers is equivalent to commenting out that line in the block I sent the link to
To get started you could just copy and paste that entire file in your ~/.proton
file and start uncommenting the layers you want
(that’s exactly what is put in the ~/.proton
if a brand new user were to try proton today)
cool, that helps a lot - thanks @sglyon 😺
Starting REPL in C:\Users\patri\.atom\packages/proto-repl/proto-no-proj
Error starting repl: Error: spawn lein.bat ENOENT
You may need to configure the lein path in proto-repl settings
REPL Closed
don't know how to change the proto-repl settings
It looks kinda odd that you have …\packages/proto-repl
I suspect that the /
is throwing you off
But, I don’t use proto-repl, so you’ll have to get some help from others here
Install instructions just say "Make sure that the path to the lein command is correct in the proto-repl settings."
once again, not newbie-friendly, which is fine, only I'm super newbie and just want to evaluate and play with the repl and parinfer and such
forward slashes usually work on windows - its the backslashes that usually cause problems
windows being stupid and all
yeah we don't really have windows guys in the project :(
and the one windows guy doesn't know squat about atom or spacemacs 😉
Default Proto REPL Leiningen project started
nREPL server started on port 59048 on host 127.0.0.1 - <nrepl://127.0.0.1:59048>
(inc 1)
=> 2
works 😺
Nice project David & Company
be careful with parinfer
once you get used to it it’s hard to go back
Yeah, can't wait for it to be part of Cursive.
I'm forced to be a Windows guy at my real job. 🙃
(hence the C# layer)
If I had my way, I'd only program in Python and Clojure.
@dvcrn: I just submitted the PR for the C# layer. I'd love any criticism you can give me, as this is my first publicly visible Clojure code. :simple_smile:
@dvcrn: Doh, I just realized I didn't do a README. I remember reading something about automating the README creation. Is that done yet?
hey there
currently playing around with atom/parinfer a bit — wondering if there is a rainbow parens thing you'd recommend?
also I'm editing some midje tests that have a strange fact
form — how can I indent these properly?
I think I figured out the indention thing :simple_smile:
@austincrft: nowhere near done. You can generate keybinding and options tables already but that’s only really saving time when your layer is big. Otherwise the markdown layer has great support for table generation
@martinklepsch: not possible currently. I tried writing one but the atom api is too limited for it right now
details -> https://discuss.atom.io/t/keep-mutated-dom-on-scroll/23553
Source is here if you want to try your luck :simple_smile: https://github.com/dvcrn/atom-niji