Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make REPL prompt submit if the cursor is after the top level form #875

Closed
PEZ opened this issue Dec 18, 2020 · 1 comment
Closed

Make REPL prompt submit if the cursor is after the top level form #875

PEZ opened this issue Dec 18, 2020 · 1 comment

Comments

@PEZ
Copy link
Collaborator

PEZ commented Dec 18, 2020

In this Youtube video about how to use VS Code with Calva the demo breaks down because the author does not understand how to evaluate code at the REPL prompt. Its quite painful to watch:

https://www.youtube.com/watch?v=4BA1Od_d9Qw

So. I've prepared some changes that should help users figure this out easier:

  1. The REPL prompt will submit on enter if the cursor is behind the top level form entered at the prompt.
  2. The first prompt printed has a message instructing to use alt+enter for evaluating forms.
@PEZ PEZ mentioned this issue Dec 18, 2020
21 tasks
@bpringe
Copy link
Member

bpringe commented Dec 19, 2020

Awesome! I was just thinking about this again recently.

@PEZ PEZ closed this as completed in d350f45 Dec 20, 2020
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

No branches or pull requests

2 participants