(id: string)
| 108 | } |
| 109 | |
| 110 | export async function documentContext(id: string) { |
| 111 | const target = findTargetUri(id); |
| 112 | const targetDocument = await workspace.openTextDocument(target); |
| 113 | console.info(`[documentContext] getting context for: ${target.path}`); |
| 114 | return { |
| 115 | id: targetDocument.uri |
| 116 | }; |
| 117 | } |
| 118 | |
| 119 | export async function insertOrModifyText(query: any[], id: string | null = null) { |
| 120 |
no test coverage detected