13 ms·
The integrated repl and inline results in lighttable were the best! Sad that it was abandoned. The best choice today for a similar experience is Chlorine(https
by ledgerdev 7y ago
The integrated repl and inline results in lighttable were the best! Sad that it was abandoned.
The best choice today for a similar experience is Chlorine(https://atom.io/packages/chlorine https://atom.io/packages/chlorine) which is built on top of Atom. It also uses the built in clojure socket repl, not the complex nrepl.
Calva does it's best to show some data inline, but unfortunately vs-code doesn't support displaying inline results https://github.com/microsoft/vscode/issues/3220 https://github.com/microsoft/vscode/issues/3220
- BoiledCabbage 7y ago> Calva does it's best to show some data inline, but unfortunately vs-code doesn't support displaying inline results I've got no attachment to the Calva project whatsoever, but the below link pretty clearly contradicts what you're claiming. https://calva.readthedocs.io/en/latest/eval-tips.html#evaluation-in-a-file-editor https://calva.readthedocs.io/en/latest/eval-tips.html#evalua... Not to mention I've done it.
- ledgerdev 7y agoSorry wasn't worded well, and in no way am claiming calva doesn't show inline information. I have used calva extensively though not in the past year. It should have read something like this: > does it's best to some inline information ... but doesn't support displaying inline results nearly as well as lighttable or Chlorine. So vscode/calva just adds text formatted only information information at the end of a line. This works fine if the result is short like say "hello world". But what happens if it's a large result, say a list of 100 items? In this case it just prints out some portion of the result or perhaps even the whole result? I can't even remember exactly. And if you throw exception, it's printed out on one very, very long line of text (or was last time I used it) at the end of the line. I can recall scrolling horizontally thousands and thousands of columns and trying to interpret the long the already hard to decipher clojure errors. What Chlorine and LightTable do/did much better is show the large/long results in a formatted block below the line, and with large data structures allow formatted expansion, because atom isn't limited to only line based decorations. Here even is the author of calva asking for more than just simple :before and :after line decorators in vscode. https://github.com/microsoft/vscode/issues/3220#issuecomment-430124153 https://github.com/microsoft/vscode/issues/3220#issuecomment... Has calva been able to better handle inline errors and large results better? If so I need to try it out again.
- BoiledCabbage 7y agoNo it doesn't have multi line results as far as I know. Thanks for clarifying.
- Rapzid 7y agoIt's an area that isn't "solved" IMHO. I love F# as well, but the typical fsi select to execute doesn't come close. Light table provided the ultimate scratch pad. Scala sheets are also meh IMHO
- lkschubert8 7y agoCalva definitely does show the results of evaluating a form inline.
- ledgerdev 7y agosee https://news.ycombinator.com/item?id=22144120 https://news.ycombinator.com/item?id=22144120