parinfer

onetom 2018-08-23T03:51:58.000100Z

im an elastic tabstops fan, btw. infact the very first project i've done when teaching some junior dev clojure is to use tabs in clojure code, eg: https://github.com/exicon/homepage/blob/58e24d405d1e5f8a16c01b2ec037159ad8fc27d6/src/hl/homepage/index.cljs.hl

๐Ÿ‘ 1
shaunlebron 2018-08-23T19:17:15.000100Z

heard from chris today about the smart mode fixes in vscode

shaunlebron 2018-08-23T19:18:08.000100Z

progress has stalled due to vscode limitations not allowing synchronous edits, and text changes being broadcast asynchronously

shaunlebron 2018-08-23T19:19:46.000100Z

i modeled smart mode after codemirror, which has an exceptionally good API (no surprise for anyone familiar with marijn)

shaunlebron 2018-08-23T19:21:48.000100Z

might have to revisit its design to see what could be done with less information from the editor

shaunlebron 2018-08-23T19:27:50.000100Z

i was pretty confident that I had whittled smart mode down to what was absolutely necessary, but after implementing elastic tabstops in ~50 lines of code and seeing the nice behavior there, I think itโ€™s worth revisiting to make sure there isnโ€™t some resonance between these ideas that could help integration and simplify the whole thing

๐Ÿ‘ 1
onetom 2018-08-24T13:51:26.000100Z

It's funny you are mentioning this because when vscode was open sourced, the very first thing i did is i tried to compile it, then i tried to see how can i hook in to the rendering and the file buffer, to see if i can implement elastic tabstops. But then I got lost in the forrest of typescript classes and gave up on it...

pez 2018-08-23T20:46:40.000100Z

Too bad about the vscode version of smartmode!