4 ms·
Sorry 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
by ledgerdev 7y ago
Sorry 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