Fork me on GitHub

😀 big thanks to everyone who worked on externs inference… I’ve used it in a couple of projects now and got the hang of it, it’s really helpful!


I’m looking into adding a cljs compatibility layer to refactor-nrepl which mainly involves working with the cljs analyzer and replicating some searches on the ast -- the current version uses tools.analyzer.jvm for clojure code.


One thing I seem to be missing is the end-line/column values in the nodes’ env. It seems only a few nodes carry that information, while on the other hand tools.analyzer adds it much more frequently and a lot of refactor-nrepl relies on that data to match a cursor position to an AST location.


So my question is: can the cljs analyzer be parametrized to add end-line/column to all relevant nodes, or is it something that will need to be done manually?