heynote icon indicating copy to clipboard operation
heynote copied to clipboard

Feature suggestion: Formatting block content support

Open princox opened this issue 1 year ago • 1 comments

Hello. I love this project so much.

I'm writing java this time and I'm sad that it doesn't auto format. Do you have any plans to provide formatting for other languages?

Have a nice end of the year.

princox avatar Dec 30 '23 12:12 princox

Heynote uses Prettier for formatting, and it doesn't support Java natively. There is a Prettier community plugin for Java though which could maybe be integrated. However, if I recall correctly, I did try to include that plugin when I implemented the format feature and ran into some issues. I don't remember exactly what, though, and I spent little time debugging it.

heyman avatar Jan 12 '24 14:01 heyman