Skip to content

Commit

Permalink
Handle multiple forms in selection, fix config access
Browse files Browse the repository at this point in the history
  • Loading branch information
Rory Douglas committed Aug 3, 2016
1 parent 3fe1119 commit 25615c9
Show file tree
Hide file tree
Showing 6 changed files with 559 additions and 95 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ clicking `Debug` > `Start`. This runs the compiled
extension.js file in the root folder.

Ensure Unity is up & an Arcadia project is loaded.
Then `⌘-shift-p` and run `Arcadia: REPL - Start`.
Then in VSCode `⌘-shift-p` and run `Arcadia: REPL - Start`.

Once the REPL is active, you can
- `Arcadia: REPL - Send Line` (`ctrl+, l`)
- `Arcadia: REPL - Send Selection` (`ctrl+, s`) or
- `Arcadia: REPL - Send File` (`ctrl+, f`)
to send the current line, selection or file to the
REPL respectively.

> There's a bug with sending a selection encompassing
multiple forms - only the first form is actually
evaluated. Probably need to chunk input on newlines
and send as separate messages.
REPL respectively. Note that the extension automatically
activates when VSCode detects current language as Clojure.
So if you have a Clojure file open but no REPL yet,
you can simply `send` the line/selection/file and
the REPL will be started for you.

There is currently no in-REPL editing available, but
you can open an empty file & use it as a scratch buffer.
Expand Down
Loading

0 comments on commit 25615c9

Please sign in to comment.