Skip to content

Conversation

@PEZ
Copy link
Contributor

@PEZ PEZ commented Mar 15, 2020

These changes are made:

  1. "cljsType": "none" added to backend only jack-in. The lack of this is today stopping jack-in in Calva.
  2. Custom commands added for starting the system and reloading the backend code. When the user invokes this in Calva (ctrl+alt .) he will get a prompt with the two commands. Given how this works in VS Code, reloading the Clojure code is now this key sequence: ctrl+alt+. 2 enter.
  3. Old backward compatibility custom cljs setting is now removed.

These changes are made:

1. `"cljsType": "none"` added to backend only jack-in. **The lack of this is today stopping jack-in in Calva**.
1. Custom commands added for starting the system and reloading the backend code. When the user invokes this in Calva (`ctrl+alt .`) he will get a prompt with the two commands. Given how this works in VS Code, reloading the Clojure code is now this key sequence: `ctrl+alt+. 2 enter`.
@SevereOverfl0w
Copy link
Contributor

This seems like it's for the clojurescript settings, but is removing the clojurescript stuff.

  1. How do tell we calva about the location of the repl environment now?
  2. Should this JSON be only for clojure? Which we haven't yet setup, but definitely should.

@PEZ
Copy link
Contributor Author

PEZ commented Mar 16, 2020

It is only removing the old, no-longer-used-by-calva cljs settings. The active settings are still there from line 19 in the new file:

1043077#diff-f6bafef1d75590e83c79211f86e5b30bL19

(You'll need to expand the view to show the referenced line.)

Not sure I follow about the other questions. But as it is now the user gets two launch options when jacking in to the created project:

  1. Backend only
  2. Backend + frontend

If choosing the latter both CLJ and CLJS REPLs will be set up and connected, by Calva Jack-in. It is the same as in this cheesy video: https://youtu.be/a2vRDYXDAug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants