Skip to content

Commit ac17249

Browse files
committed
Add getUriForDocument() to exported API
1 parent 05a2759 commit ac17249

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/extension.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -936,6 +936,9 @@ export async function activate(context: vscode.ExtensionContext): Promise<any> {
936936
onDidChangeConnection(): vscode.Event<void> {
937937
return _onDidChangeConnection.event;
938938
},
939+
getUriForDocument(document: string): vscode.Uri {
940+
return DocumentContentProvider.getUri(document);
941+
},
939942
};
940943

941944
// 'export' our public API

0 commit comments

Comments
 (0)