Fork me on GitHub
#proton
<
2016-01-27
>
austincrft01:01:34

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.

dvcrn02:01:39

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

dvcrn02:01:59

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

geksilla11:01:48

@dvcrn yes, package install works fine.

meow11:01:07

how do I add a layer in proton

meow11:01:10

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

meow11:01:08

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

sglyon12:01:05

@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

sglyon12:01:30

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

sglyon12:01:20

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

meow12:01:13

cool, that helps a lot - thanks @sglyon 😺

meow12:01:03

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

meow12:01:30

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

sglyon12:01:00

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

sglyon12:01:12

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

meow12:01:08

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

meow12:01:54

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

meow12:01:44

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

meow12:01:56

windows being stupid and all

dvcrn12:01:04

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

meow12:01:51

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

meow12:01:59

Default Proto REPL Leiningen project started
nREPL server started on port 59048 on host 127.0.0.1 - 
(inc 1)
=> 2

meow12:01:17

works 😺

meow13:01:44

Nice project David & Company

dvcrn13:01:17

be careful with parinfer

dvcrn13:01:23

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

meow13:01:20

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

austincrft14:01:32

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

austincrft14:01:58

(hence the C# layer)

austincrft14:01:15

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

austincrft14:01:04

@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

austincrft15:01:58

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

martinklepsch16:01:27

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

martinklepsch16:01:09

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

martinklepsch16:01:45

I think I figured out the indention thing simple_smile

dvcrn23:01:57

@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

dvcrn23:01:18

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

dvcrn23:01:21

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