Fork me on GitHub
#calva
<
2019-10-22
>
nickmbailey18:10:52

is there a way to have calva set the environment of the process it uses to start up a repl? we configure everything in a .env file which is just sourced manually when running a repl manually. trying to figure out how to load that when starting up a repl with calva

pez18:10:45

@nickmbailey , yes there is a setting, I think i named it jackInEnv.

nickmbailey18:10:02

where would i configure that setting?

nickmbailey18:10:37

(i'm fairly new to vscode)

pez18:10:24

Search for it in VSCode settings. (cmd+comma on mac).

nickmbailey18:10:21

can that be overridden in a file per project?

nickmbailey18:10:02

vscode opens a global settings.json file for me when i try to edit that

nickmbailey18:10:42

there's a tab in vscode to switch between workspace and user, got it

👍 4
nickmbailey18:10:36

how would you feel about a github issue to optionally load that from a file? right now we store everything in a .env file since we can manually source it, use it for docker, etc. i'd like to not duplicate that in a .env file and in settings.json

pez18:10:13

Yeah, file a feature request with it.

nickmbailey18:10:07

how do i do a "ctrl+c" in the calva repl? as in abandon whatever form i'm currently working on and start fresh

pez18:10:45

@nickmbailey, you can’t. I would Expand selection until everything is selected and then delete it. (If I used the REPL prompt, which I seldom do.)