Fork me on GitHub
#calva
<
2019-09-08
>
smw09:09:32

koans.01-equalities=> 
(= 2 (+ 1 1))
Syntax error compiling at (form-init481964306065051002.clj:1:1).
Unable to resolve symbol: = in this context

smw09:09:44

Anyone know what I might doing wrong? This works fine in cider, for instance.

smw09:09:42

Only seems to happen when using "send form to repl and evaluate"

pez09:09:15

Have you evaluated the file?

smw09:09:19

@pez no, just found out that sending the ns form to the repl solves the problem

smw09:09:23

but I'm not sure why?

smw09:09:33

shouldn't = be valid in whatever context?

pez09:09:22

It should, but still, it is like the REPL window says, some things just don’t work until a file is evaluated…

smw09:09:39

It's different that the experience in cider or cursive, so confusing, but I hear you.

smw09:09:48

Ok. One more question if you don't mind.

pez09:09:06

That’s why the message is there. Until I’ve figured out what is missing.

smw09:09:15

I see. I can work around it.

smw09:09:46

Is there something special I need to do to get:

Evaluate current form: alt+ctrl+c e, finds the form from the cursor position, evaluates it and displays the result inline. Hit esc to dismiss the results display.

smw09:09:02

right now it's switching to the repl window

smw09:09:36

oh, maybe it's just a different keybinding.

smw09:09:10

I rebound to ^c^e, but I guess I didn't rebind the right command.

pez09:09:12

alt+ctrl+c alt+ctrl+e i think sends to repl window.

smw09:09:48

Yep, you're correct.

smw09:09:25

but when I search in the keybindings, I don't see the option to bind "send current form and show result as annotation"

smw09:09:33

or whatever the command should be called

smw09:09:09

Ok. Never mind. I found it. It just doesn't mention "repl" or "annotation"

smw09:09:12

Sorry for the bother! I got the important stuff working!

pez09:09:10

I think the word I use is “inline”, but could also be that I have skipped it all together. The inline command predates the repl window…

pez09:09:09

Please don’t worry about bothering me. You are providing valuable feedback!

pez18:09:02

Dear calva-friends, @slack1038 and I have been busy a few days with getting Calva on Circle-CI wheels. It is folding out very well, and will contribute greatly to improving maintainability. Now sending us a PR means you will get it built and tested (as far as the Calva test bed goes, which is leaving room for improvement, but anyway). You will have a VSIX to download and test and to link others to who you want to help testing it (this channel is a very good place to paste such links). We have also enabled Github Releases, for keeping a track of released Calva versions from now on. And we will also use that for pre-releases. So I will not be uploading VSIX packages here, but instead link you to prereleases on Github. Here is the first such prerelease. An important improvements to the Connect and Jack-in features of Calva. Please help test this: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.35-wip-custom-repl-connect-sequence

pez18:09:49

See this issue for documentation of what the changes are about: https://github.com/BetterThanTomorrow/calva/issues/282