Auto Format Jinja
Chloe Mathews
Would be helpful to provide autoformatting for Jinja, similar to a formatter like Black for Python. Assuming that Rewst is using Monaco, https://microsoft.github.io/monaco-editor/typedoc/interfaces/languages.FormattingOptions.html there is API functionality that allows for custom format options. Even having the option in the context menu would be incredibly helpful. Might be too similar to this:
But this in particular would make working in the live editor much easier for me personally.
Log In