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

Paredit not activated until focused moved from and back to the editor again #454

Closed
PEZ opened this issue Nov 7, 2019 · 1 comment
Closed
Labels
bug Something isn't working paredit Paredit and structural editing

Comments

@PEZ
Copy link
Collaborator

PEZ commented Nov 7, 2019

When having Calva set to not open the REPL window on connect, I notice that Paredit is not active until I click outside the file editor window and back again.

Steps to reproduce:

  1. Open a new VS Code window.
  2. Open a folder with at least one Clojure file in it.
  3. Open a Clojure file.
    1. Make sure you have an active cursor in the file.
  4. Close the VS Code window.
  5. Open it again.
    • The cursor should be blinking in the file. If VS Code or some extension opens some other panes, close them and repeat from 4
  6. Try to use a Paredit command (expand selection, slurp, barf, anything)

Expected:

  • The Paredit command should be performed.

Actual result:

  • The Paredit command isn't being performed.

Workaround, until this is fixed:

  1. Click outside the edited file window/pane.
  2. Click inside the edited file window again.
  3. Confirm that Paredit now works.
@PEZ PEZ added bug Something isn't working paredit Paredit and structural editing labels Nov 7, 2019
@cfehse
Copy link
Contributor

cfehse commented Nov 7, 2019

@PEZ

It works for me - also checked that the paredit extension gets activated.

@PEZ PEZ closed this as completed in 19558bf Nov 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working paredit Paredit and structural editing
Projects
None yet
Development

No branches or pull requests

2 participants