(filePath: string)
| 33 | } |
| 34 | |
| 35 | export const formatFile = async (filePath: string) => { |
| 36 | const editor = await openFileInEditor(filePath); |
| 37 | await vscode.commands.executeCommand("editor.action.formatDocument"); |
| 38 | await editor.document.save(); |
| 39 | }; |
| 40 | |
| 41 | export type FileSearchStrategy = "all" | "one-up" | "sub"; |
| 42 |
no test coverage detected