proton

https://github.com/dvcrn/proton
2016-01-27T01:40:34.000136Z

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.

dvcrn 2016-01-27T02:20:15.000137Z

sure!

dvcrn 2016-01-27T02:20:39.000138Z

we have a few layers that are very minimal on functionality but get better over time

dvcrn 2016-01-27T02:20:59.000139Z

before linting and stuff, clojure layer for example was just parinfer

geksilla 2016-01-27T11:03:48.000141Z

@dvcrn yes, package install works fine.

meow 2016-01-27T11:24:07.000142Z

how do I add a layer in proton

meow 2016-01-27T11:26:10.000143Z

specifically, I don't know how to "Add :lang/clojure to your layers."

meow 2016-01-27T11:27:08.000144Z

Perhaps one needs to be better versed in Atom than I am to really make use of Proton?

2016-01-27T12:21:05.000145Z

@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

2016-01-27T12:21:30.000147Z

To get started you could just copy and paste that entire file in your ~/.proton file and start uncommenting the layers you want

2016-01-27T12:24:20.000148Z

(that’s exactly what is put in the ~/.proton if a brand new user were to try proton today)

meow 2016-01-27T12:28:13.000149Z

cool, that helps a lot - thanks @sglyon 😺

meow 2016-01-27T12:43:03.000150Z

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

meow 2016-01-27T12:45:30.000151Z

don't know how to change the proto-repl settings

2016-01-27T12:47:00.000152Z

It looks kinda odd that you have …\packages/proto-repl I suspect that the / is throwing you off

2016-01-27T12:47:12.000153Z

But, I don’t use proto-repl, so you’ll have to get some help from others here

meow 2016-01-27T12:49:08.000154Z

Install instructions just say "Make sure that the path to the lein command is correct in the proto-repl settings."

meow 2016-01-27T12:49:54.000155Z

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

meow 2016-01-27T12:50:44.000156Z

forward slashes usually work on windows - its the backslashes that usually cause problems

meow 2016-01-27T12:50:56.000157Z

windows being stupid and all

dvcrn 2016-01-27T12:51:04.000158Z

yeah we don't really have windows guys in the project :(

meow 2016-01-27T12:51:51.000159Z

and the one windows guy doesn't know squat about atom or spacemacs 😉

😇 1
😈 1
meow 2016-01-27T12:58:59.000161Z

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)
=&gt; 2

meow 2016-01-27T12:59:17.000162Z

works 😺

meow 2016-01-27T13:00:44.000163Z

Nice project David & Company

dvcrn 2016-01-27T13:06:17.000164Z

be careful with parinfer

dvcrn 2016-01-27T13:06:23.000165Z

once you get used to it it’s hard to go back

meow 2016-01-27T13:14:20.000166Z

Yeah, can't wait for it to be part of Cursive.

2016-01-27T14:23:32.000167Z

I'm forced to be a Windows guy at my real job. 🙃

2016-01-27T14:23:58.000168Z

(hence the C# layer)

2016-01-27T14:24:15.000169Z

If I had my way, I'd only program in Python and Clojure.

2016-01-27T14:58:04.000170Z

@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:

2016-01-27T15:00:58.000171Z

@dvcrn: Doh, I just realized I didn't do a README. I remember reading something about automating the README creation. Is that done yet?

martinklepsch 2016-01-27T16:47:02.000172Z

hey there

martinklepsch 2016-01-27T16:47:27.000173Z

currently playing around with atom/parinfer a bit — wondering if there is a rainbow parens thing you'd recommend?

martinklepsch 2016-01-27T16:48:09.000174Z

also I'm editing some midje tests that have a strange fact form — how can I indent these properly?

martinklepsch 2016-01-27T16:58:45.000175Z

I think I figured out the indention thing :simple_smile:

dvcrn 2016-01-27T23:34:57.000176Z

@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

dvcrn 2016-01-27T23:35:18.000177Z

@martinklepsch: not possible currently. I tried writing one but the atom api is too limited for it right now

dvcrn 2016-01-27T23:36:30.000178Z

details -> https://discuss.atom.io/t/keep-mutated-dom-on-scroll/23553

dvcrn 2016-01-27T23:42:21.000180Z

Source is here if you want to try your luck :simple_smile: https://github.com/dvcrn/atom-niji