Hi. I created an issue on github https://github.com/BetterThanTomorrow/joyride/issues/79 regarding load/eval current file makes cljs.user to be the active ns.
I’ve a question on how to show all the props of a js object.
(def *l (current-line))
;; (current-line) gives the vscode TextLine object
(js-keys *l) only gives limited output
#js ["_line" "_text" "_isLastLine"]
however, indeed `*l.range` does work so at least the `range` field is missing.I cross posted an issue (more of a question) on github: https://github.com/BetterThanTomorrow/joyride/issues/80
Yeah, I can reproduce this. Here's a snippet for getting that line:
(def text-line (vscode/window.activeTextEditor.document.lineAt vscode/window.activeTextEditor.selection.active))Hi pez, what do you mean? My question is about incomplete list of js-keys. I also tried Object.keys, and Object.getOwnPropertyNames(), but none listed keys like range.
Yes, I mean that I can reproduce the problem. I just provided the missing piece for someone else who'd like to examine it.