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).
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
![image](https://private-user-images.githubusercontent.com/9293462/384730687-df5c8ebe-7c8c-4653-b8d2-efe7cd52514f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzEwNTUsIm5iZiI6MTczOTE3MDc1NSwicGF0aCI6Ii85MjkzNDYyLzM4NDczMDY4Ny1kZjVjOGViZS03YzhjLTQ2NTMtYjhkMi1lZmU3Y2Q1MjUxNGYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMDY1OTE1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjcwYzUyODUwMDUwNmQ5YWQyMGM2ZDZkNjg3ZmMwNjUzMDQ5NTcyYWQxNjgzZDY1MjNlNzdjNzI2NTYxNTJlMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.vxHaY8_Ev9VEGD7SnvCTdGmKFwlyjOqN4y2uVSbOVhQ)
will be formatted to
but(which default in my cursive setup)
![image](https://private-user-images.githubusercontent.com/9293462/384730781-d481d2c7-382b-464c-81fa-61f7e65d12db.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzEwNTUsIm5iZiI6MTczOTE3MDc1NSwicGF0aCI6Ii85MjkzNDYyLzM4NDczMDc4MS1kNDgxZDJjNy0zODJiLTQ2NGMtODFmYS02MWY3ZTY1ZDEyZGIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMDY1OTE1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzhjNjhhOTA1OGE5MTk2ZTQ3M2EzMWIwNmZlOTJlNGVkYTM1ZjI2ODhiMTNmZDIxYmJhNDYxNDdkZDEyYTYyZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ZOH6oDJhq_mKuY_yvrEDVrQsQVHQ4P2t3CwpkzvS3S8)
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: