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

[bug] sync files in REPL #31

Closed
kwladyka opened this issue May 3, 2018 · 4 comments
Closed

[bug] sync files in REPL #31

kwladyka opened this issue May 3, 2018 · 4 comments

Comments

@kwladyka
Copy link

@kwladyka kwladyka commented May 3, 2018

In Cursive there is a function "Sync files in REPL". It reloads all namespaces which changed (files edited).

So during coding after changes I can reload whole app (all modified namespaces / files) in REPL by shift+cmd+m.

It would be great to see this option here. I use it all the time to test my code after each part of changes.

@kwladyka

This comment has been minimized.

Copy link
Author

@kwladyka kwladyka commented May 4, 2018

Oh I miss it. It looks like it reload namespace after each file save. I like it.

But often I get this error:

Running the contributed command:'calva.evaluateSelectionPrettyPrint' failed.

To recreate this bug make a file:

(ns foo.bar)

(defn bar []
  1)

(bar)

save it and change to:

(ns foo.bar)

(defn bar []
  2)

(bar)

save it.

Now try run (bar) in REPL.

@kwladyka kwladyka changed the title [feature] sync files in REPL [bug] sync files in REPL May 4, 2018
@PEZ

This comment has been minimized.

Copy link
Collaborator

@PEZ PEZ commented May 4, 2018

Is this in a Clojure or Clojurescript file? Also, what is meant by running in the REPL? What commands are you using?

@kwladyka

This comment has been minimized.

Copy link
Author

@kwladyka kwladyka commented May 4, 2018

Clojure
calva.evaluateSelectionPrettyPrint or calva.evaluateSelection

@PEZ

This comment has been minimized.

Copy link
Collaborator

@PEZ PEZ commented Nov 15, 2018

The bug seems to be fixed now. Closing and we can reopen if it shows up again.

@PEZ PEZ closed this Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.