0.7.0
Breaking Changes
Default Behavior Changes
- Multiline formatting now prefers triple-double-quotes over triple-single-quotes - When formatting promotes a single-quoted template string (
t'...') to a triple-quoted literal due to multiline output, the formatter now emitst"""..."""instead oft'''...'''. This affects any workflow that snapshots or compares formatter output. (#37)
LSP Protocol Changes
- Range formatting now rejects selections containing multiple template strings - Previously, range formatting would silently format all templates within the selected range. It now returns a JSON-RPC internal error when more than one template string overlaps the requested range, requiring exactly one template to be targeted. LSP clients relying on multi-template range formatting will need to issue separate requests per template or use the new
source.fixAll.t-lintercode action for document-wide formatting. (#37)
What's Changed
Full Changelog: 0.6.2...0.7.0