emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
eunmin 2020-11-13T07:48:58.147100Z

Is there any package that shows the definition of the spot where the cursor is at like the image I attached? This is the image I just made for explanation :)

eunmin 2020-11-13T08:13:23.148200Z

Thanks, I'll try that. πŸ™‚

2020-11-13T08:28:16.148400Z

You’re probably already aware of Cider I guess. It will show you the relevant bits, like parameters and documentation, but not the implementation itself AFAIK

eunmin 2020-11-14T12:07:10.150600Z

I wrote some code for this function. It works like the image below! But it may has some bugs because it's experimental version. πŸ™‚ https://github.com/eunmin/cider-show-def/blob/main/cider-show-def.el

ericdallo 2020-11-14T19:22:12.151Z

Hey, lsp-mode has lsp-ui-doc that does exaclty what you want πŸ™‚ https://emacs-lsp.github.io/lsp-mode/tutorials/how-to-turn-off/

πŸ‘ 1
tianshu 2020-11-22T16:36:23.193500Z

I think posframe is a good option to build a popup window.

2020-11-13T07:59:51.147900Z

I’m not an lsp-mode user myself, but I do believe it has something like that. There are some functions prefixed with peek in lsp-ui-mode I believe

Louis Kottmann 2020-11-13T17:19:33.150300Z

I use emacs, cider and company(-box) and I would like to show the company-box popup "on demand" (i.e: while not completing) For example: without candidates, just the cursor on a name, and it would show what company-box displays when in the candidate list

Louis Kottmann 2020-11-13T17:19:38.150500Z

how can I achieve that?