formatRange
Format a specific line range in a file using the LSP formatter, improving speed for large files compared to formatting the entire document.
Instructions
Format a line range via LSP formatter. Faster than full formatDocument for large files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Workspace or absolute path | |
| startLine | Yes | 1-based start line (inclusive) | |
| endLine | Yes | 1-based end line (inclusive) |