You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### Summary
This commit addresses
clojure-emacs#57 (Add an interactive
command to display a var's metadata) by adding a command to show forms metadata: `inf-clojure-meta`.
`inf-clojure-meta` can be called interactively sends the current form to the inf clojure process and evaluates its metadata. It is useful
for testing.
This command should work with clojure (through lein repl), lumo and planck alike.
#### Test Plan
Manually tested the command using clojure, lumo and planck. I put my cursor on a
form and ran it interactively, it displayed the metadata in the inf buffer.
charignon
added a commit
to charignon/inf-clojure
that referenced
this issue
Jan 19, 2019
#### Summary
This commit addresses clojure-emacs#57 (Add an interactive
command to display a var's metadata) by adding an interactive command `inf-clojure-meta` to show metadata of a form at point.
This command works with clojure, lumo and planck alike.
#### Test Plan
Manually tested the command using clojure, lumo and planck. I put my cursor on a
form and ran it interactively, it displayed the metadata in the repl buffer.
Specifically I tested with `(with-meta [1 2 3] {:data "hello"})` and it printed `{:data "hello"}`
Metadata is something we need to inspect fairly often, so it'd be easy if there was some command do display this. Implementing this should be trivial.
The text was updated successfully, but these errors were encountered: