Fork me on GitHub
#parinfer
<
2018-08-16
>
pez07:08:42

If anyone is testing the new version of the vscode extension that is brewing, together with Calva, this is important for a smooth experience: https://github.com/BetterThanTomorrow/calva-fmt#parinfer-and-auto-adjust-cursor-on-new-lines

pez07:08:44

Also, to save some time for people who want to test the bleeding edge version of Parinfer for vscode, install this VSIX package: https://clojurians.slack.com/files/U0ETXRFEW/FC8D62QGZ/vscode-parinfer-0.6.3-pez-testar.vsix

pez07:08:35

Let me know if this should be posted as an issue instead (thinking it might not belong there as I am testing a yet unreleased version). Anyway, is this behaviour by design?

(def a [:b |↩︎:c])

(def a [:b]) 
|:c
(Trying to show where I hit the enter key there.) I expect, and would want:
(def a [:b 
        |:c])

pez07:08:40

(Using smart mode)

henrik07:08:07

@pez The same done in Atom produces

(def a [:b 
        :c])
So, it looks like a bug

pez07:08:57

Good! 😃

cfleming22:08:41

@pez The source of ground truth for figuring out if a bug is yours or in parinfer itself is https://shaunlebron.github.io/parinfer/demo

cfleming22:08:02

If it works there and your version is broken, it’s your bug 🙂

cfleming22:08:14

If it’s broken over there then it’s a parinfer bug.