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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Document formatting (1.3.0) (#5)
* feat(formatting): re-indent + trim whitespace pass for textDocument/formatting
Whitespace-only formatter that walks the document tracking string and
comment state so braces inside those don't move the indent depth. Each
line is re-indented to its brace depth, trailing whitespace is trimmed,
runs of blank lines collapse to one, and the file is given exactly one
trailing newline. Honours the client's TabSize and InsertSpaces options.
Token content is never modified — broken docs format the parts that
parse cleanly.
* feat(formatting): advertise DocumentFormattingProvider in capabilities
* test(formatting): cover indentation, trim, blanks, tabs, strings, finalize
* docs: cut 1.3.0 with document formatting