You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, just watched your conj talk, this is cool - your efforts are appreciated.
Came across two different cases in different editors
Pic instead code block because it shows blankspaces.
In first case, which by default in my vscode setup
will be formatted to
(cond:cond-1:do-1:cond-2:do-2:cond-3:do-)
but(which default in my cursive setup)
will be formatted with respect to blank lines to
(cond:cond-1:do-1:cond-2:do-2:cond-3:do-)
I would personally prefer to respect empty lines, but I wonder which behavior is considered preferable and whether the formatter behaves correctly in both cases?
The text was updated successfully, but these errors were encountered:
Can share the file exactly? What version of Standard Clojure Style are you using?
Another hunch: are you on Windows and does this file use CRLF line endings? The formatter should be able to handle that, but there was another bug that looked similar to this and I wonder if this is somehow related (Issue #102 and Issue #103).
Of course, my fault. Example https://github.com/velios/standart-clojure-style-issue
I'm on mac, compile my-standart-clj-binary to standalone binary like you show on video from 8a0588c19325033c63ead2e1acb40a606717dc6a
Hi, just watched your conj talk, this is cool - your efforts are appreciated.
Came across two different cases in different editors
Pic instead code block because it shows blankspaces.
In first case, which by default in my vscode setup

will be formatted to
but(which default in my cursive setup)

will be formatted with respect to blank lines to
I would personally prefer to respect empty lines, but I wonder which behavior is considered preferable and whether the formatter behaves correctly in both cases?
The text was updated successfully, but these errors were encountered: