Skip to content

Manual formatting #647

Answered by yannham
akiross asked this question in Q&A
Mar 8, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hello,

Unfortunately there is no code formatter yet, even when using the LSP. We have been actually discussing this subject no later than last week. Someone from the team is considering working on this, as this is important tooling. But the current parser infrastructure is not that easy to reuse or to adapt to make a formatter, so I can't really give an estimation for now on when a formatter would be likely to land. Of course, this will be done as a component used both for a nickel fmt command and for the LSP.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@akiross
Comment options

Answer selected by akiross
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants