Fork me on GitHub
#cider
<
2015-12-23
>
robert-stuttaford06:12:01

are there any plans to display some sort of feedback on the progress of the cider/clj-refactor code indexing that occurs when connecting to a headless repl?

bozhidar10:12:53

there’s no cider indexing

bozhidar10:12:12

are you referring to clj-refactor’s ast generation process?

bozhidar12:12:08

up to @benedek I guess

benedek16:12:45

@robert-stuttaford not at the moment. apart from reporting that it is finished if you have the debug flag on. It happens async too. what is your use case btw?

benedek16:12:40

I mean cljr--debug-mode

robert-stuttaford16:12:43

hey @benedek, the use case is simple: knowing when it’s safe to start doing things in the repl. when we e.g. try to load code or start a web server, we get ns not found errors until the generation is complete

robert-stuttaford16:12:27

would i (setq cljr--debug-mode 1) to switch it on?

benedek16:12:02

Debug mode: yes.

benedek16:12:25

this sounds weird. Ast generation not being ready should only have an effect on clj-refactor features that actually use the ASTs

robert-stuttaford17:12:40

it’s quite strange. it acts as though code is not on the classpath until the ast thing is finished

robert-stuttaford17:12:02

i’ll set debug mode and see what happens. thanks benedek

benedek17:12:29

No worries. a ticket would be nice if you found the cause