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
Commenting code with ; is quite convenient, but uncommenting it is harder, because now it's just a chunk of comment text. In Clojure, we have the comment reader macro #_ to ignore sexp but leave it as a sexp in the source. It would be really nice to have a key that would toggle #_ before a sexp.
Not sure if that's too Clojure-specific and niche-y, though. If it is, any pointers on how I might implement it as an extension to Lispy?
The text was updated successfully, but these errors were encountered:
You can uncomment with C-u ;. Or mark the comment block with a region and press ;. You can mark comment blocks easily: just press m when the point is before the starting ; on any line of the comment.
Example:
;; (foo);; (bar)
|(baz)
You can uncomment the above block with mk;, or C-p C-u ;.
Commenting code with ; is quite convenient, but uncommenting it is harder, because now it's just a chunk of comment text. In Clojure, we have the comment reader macro
#_
to ignore sexp but leave it as a sexp in the source. It would be really nice to have a key that would toggle#_
before a sexp.Not sure if that's too Clojure-specific and niche-y, though. If it is, any pointers on how I might implement it as an extension to Lispy?
The text was updated successfully, but these errors were encountered: