Fork me on GitHub
#calva
<
2018-09-07
>
dijonkitchen15:09:41

Even after 1.27.1 too.

pez17:09:09

I’ll upgrade and see what happens.

dijonkitchen20:09:45

FYI, I did a hard and clean restart and things are working OK now.

pez21:09:24

Great. Things seem to work for me too. Maybe it was a migration issue.

👍 1
mattly13:09:38

after some sort of recent vscode update or I'm not sure what, it now automatically shows the terminal for the calva repl when changing tabs. this is really annoying. any idea how to turn that behavior off?

mattly13:09:44

I can't find anything in settings

pez13:09:06

Not sure exactly what you mean, @mattly. Can you elaborate some?

mattly14:09:19

I think what's happening is that vscode sees activity in the repl terminal for the ns switch, for example [7:1]~myapp.some-ns=> (in-ns 'myapp.some-other-ns) and then decides I need to see that

mattly14:09:32

it only started doing it this morning

mattly14:09:54

but I'm only really using VSCode for clojure right now because emacs/parinfer broke

mattly14:09:11

I try to hide the panel, or show the warnings instead, but VSCode just shows the calva repl again

mattly14:09:24

I'm not sure if this is due to the VSCode august update or what

mattly14:09:46

and I can't find any relevant settings

mattly15:09:10

so as far as I can tell, this is driven by the "sync repl namespace to current file" setting, where terminal.js has terminal.show(true)

mattly15:09:32

which, it wasn't doing this before

mattly15:09:26

editing those lines out in the locally-installed extension and reloading my window doesn't solve the problem

pez17:09:09

I recently pulled a PR that should make the terminals show less, not more. I’ll have a look at what is going on in terminal.ts, but it really seems to be something that has changed in VSCode. I’ll try to find some time to browse the recent issues there as well.

mattly17:09:39

I haven't updated my work machine's vscode yet and it's not doing it

mattly17:09:48

so I do suspect it's something with the august update

dijonkitchen23:09:28

Same. I’m getting this same problem as I switch between tabs manually or with hotkeys.

dijonkitchen23:09:31

Each time you give a tab focus, it runs (in-ns 'new-namespace) and pulls open the terminal because it’s eval’ing it.

dijonkitchen23:09:22

It’s in the CLJS repl (though there is a spelling error: “CojureScript” instead of “ClojureScript”