-
Notifications
You must be signed in to change notification settings - Fork 26
Refactoring starts now #142
Comments
This is where I work : https://github.com/astrale-sharp/typstfmt/tree/refactor It should give you an idea of what the new design will look like. I think it's pretty elegant and not too complex, it should also address the long time issue we've had with raw blocks and typstfmt::off drifting right. It's likely that existing implementation will be able to be reused in some places. I started with the documentation to give a global overview of what I have in mind! |
Most of the groundwork is over and I have some decent docs as well, now I would like to have some help for the rest of the details. There are and will be things to do that are accessible to rust beginners and there's many things to be talked about. I'll update contributing to reflect this soon. I encourage everyone to have a look at the code, and if somethings is not clear, questions you, interests you, you want to fix a todo or indication on how to start helping start a discussion or open an issue or contact me via discord. It would be very helpful I swear, there's so many things to be done and I am but a simple woman. |
Contributors feedback: the refactored code is still very terse and hard to contribute too I changed my priority due to my professional life taking more of my time lately, so the development is paused for now, I still merge PRs etc EDIT: should resume working on this in March |
Hey! Just noticed this issue. Are contributions for open issues meant to go into the refactor branch or main branch? |
The main branch, the refactor branch is too raw and honestly, I'm not sure I will be continuing work on this, I'll help maintain the current state but I haven't had motivation to work on this for months now, I'm not really using typst as a regular basis anymore so... I would encourage yall to take a good look at https://github.com/Enter-tainer/typstyle since it seems quite promising to me Maybe my typst mania/ formatting mania will come back, but I pretty much moved on from it I think. |
Hey dear followers,
I've started working on the long waited refactor to keep raw blocks and
//typstfmt::off
to drift right as well as other problems.This is a complex task and it might take a while but I've started.
In the meantime, I'll post my progress on a branch and will try to keep you all updated!
The text was updated successfully, but these errors were encountered: