lsp_organize_imports_preview
Preview import organization changes from source.organizeImports as a unified diff without modifying files.
Instructions
Preview import organization changes using source.organizeImports code action. Returns a unified diff without writing files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute or workspace-relative path to the file. | |
| includeDiff | No | Whether to include a unified diff. |