Settings

Theme

Show HN: The Clojalyzer

mattfenwick.github.io

21 points by mattfenwick · 8 comments

Reader

2 threads
elwell

CrossClj actually does this exact thing: e.g., http://crossclj.info/doc/org.clojure/core.async/0.1.338.0-5c...

  • mattfenwickOP

    Wow, I had no idea that such a thing existed. That is far more feature-rich. Thanks for posting it.

    However, one advantage (or disadvantage depending on your P.O.V :) ) of the Clojalyzer is that it's not tied to Clojars. So, for instance, if you have a Java project with a single Clojure script in it, you can Clojalyze that. While it is tied to Github, that's not fundamental to how it works and I plan on improving it soon, to also allow copy/paste and fetching from other urls (at the very least).

elwell

I feel like something like this is (or should be) in my editor: like an emacs package or what have you.

  • icholy

    Go has something similar http://godoc.org/ and I use it all the time.

    • mattfenwickOP

      Author here.

      That's really cool! Thanks for posting it, it's giving me more ideas for improving the Clojalyzer.

      What are your favorite or most useful features of godoc?

  • gibbonsd1

    I can pull doc strings in Vim by moving my cursor over a function and pressing K with fireplace.vim. I imagine Emacs has something similar. I get a list of functions with taglist.vim.

    • mcav

      A typical emacs setup includes a keybinding (C-c C-d) to display the docstring for the function under the cursor, as well as the invaluable "M-." to jump right to the function's source definition.

  • mattfenwickOP

    Author here. Thanks!

    What other features could the Clojalyzer provide that you would find useful?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection