If I evaluate a small vector of maps
[{:a 1 :b 2}
{:a 3 :b 4}]
and view as a table, I see rows and colums as expected.
But when I evaluate a larger vector of larger maps, I get all the maps in 1 column, like pictured below.
Any idea how I can the rows in this second data set?Yes, it did have many keys. Thanks, makes sense
Might be ok to scroll /zoom around, left/right, in/out, to get a sense of a larger table?
There is a cap on 16 unique keys for colls of maps, do you have more?
The intention behind cap was that is you have too many columns, it's hard to get a grasp of data as a table
How many keys does your data have?
I am trying to change the font in the JVM prefs. I must use commas instead of spaces, or the argument will break.
-Dfile.encoding=UTF-8 -Dvlaaad.reveal.prefs={:theme,:light,:font-family,"JetBrains,Mono"}
But this gives me an error,
Failed to read reveal prefs
Execution error - invalid arguments to vlaaad.reveal.prefs/fn at (prefs.clj:38).
"JetBrains,Mono" - failed: valid-url? at: [:font-family :url-string] spec: :vlaaad.reveal.prefs/font-family
"JetBrains,Mono" - failed: system-font? at: [:font-family :system-font] spec: :vlaaad.reveal.prefs/font-family
How can I specify a font family string with spaces in it (in cursive repl options jmv args reveal prefs..)?Ah, that’s embarassing. You can’t use fonts with spaces in them 😞
I plan to add support for specifying an edn file with prefs to workaround this limitation
I use deps.edn instead of lein, but lein setup in this regard should be similar… What I do is add :jvm-opts ["-Dvlaaad.reveal.prefs={:font-family,\"Comic Code Ligatures\",:theme,:light :font-size 12}"] to reveal alias
I think lein uses the exact same syntax for specifying extra jvm opts in profiles
:jvm-opts ["-Dvlaaad.reveal.prefs={:theme,:light,:font-family,\"JetBrains Mono\",:font-size,14}"] works for me as well (also using clojure cli as opposed to lein)
Once I added nrepl to project.clj Reveal profile deps, Reveal started working.
But I am still getting this error.
Error loading complete.core: Could not locate complete/core__init.class, complete/core.clj or complete/core.cljc on classpath.
I am not sure I have config right.
I am still not sure where to put these commands...
https://github.com/vlaaad/reveal/issues/20#issuecomment-760208637
Does my config look ok?
:profiles
{:reveal
{:dependencies [[dev.vlaaad/reveal-pro "1.3.265"]
[nrepl "0.9.0-beta3"]]
;[clj-kondo "2021.10.19"]]
:repl-options {:nrepl-middleware [vlaaad.reveal.nrepl/middleware]}}}
;["cider.nrepl/cider-middleware"]]}
;:plugins [[cider/cider-nrepl,"0.27.2"]]}}
The commented out stuff was trying to match the linked issue, but then it started not working...reveal does not use complete library
this looks like something from nrepl
can you share your run configuration for reveal repl?