Simon Katz
Simon Katz
I'd like an option to format comments, and this is the behaviour I would like: ```clojure ;;;; Remove any indentation. ;;; Remove any indentation. ;; Remove any indentation. ; Remove...
I have the same problems (grep buffer not being selected and error about buffer name) with Projectile version 20210811.435. For me, the following hack seems to fix both problems. ```...
There's `methods`, which seems to give the same as `.getMethodTable`… ``` (= (.getMethodTable print-method) (methods print-method)) => true ``` EDIT Indeed they are the same: see https://github.com/clojure/clojure/blob/master/src/clj/clojure/core.clj#L1803-L1807
Just to note that dumb-jump (https://github.com/jacktasia/dumb-jump) works with multimethods — it lets you select from all the methods of a multimethod. It only works within the current project, though.
There's `methods`, which seems to give the same as `.getMethodTable`… ``` (= (.getMethodTable print-method) (methods print-method)) => true ``` EDIT Indeed they are the same: see https://github.com/clojure/clojure/blob/master/src/clj/clojure/core.clj#L1803-L1807
Just to note that dumb-jump (https://github.com/jacktasia/dumb-jump) works with multimethods — it lets you select from all the methods of a multimethod. It only works within the current project, though.
I got around this by switching from alpine to [frolvlad/alpine-glibc](https://hub.docker.com/r/frolvlad/alpine-glibc/).
Some thoughts from an old-time Lisper. (More detail at http://blogish.nomistech.com/how-to-comment-in-clojure/.) An example of what I think is correct use of semicolons: ```clojure ;;;; A top-level comment with four semicolons. ;;;...
@danielcompton In your example I would vote for leaving the whitespace before the first semicolon unchanged. Here's an example of why: ``` (def foo nil) ; Comment (def foo-longer nil)...
A few more details… The clj-kondo feature is documented at https://github.com/clj-kondo/clj-kondo/blob/master/doc/hooks.md. I've used the simple approach of a `:macroexpand` hook. This works pretty well, but one linting message is less...