Skip to content

Commit 9403ee8

Browse files
authored
Merge pull request #640 from isc-bsaviano/master
Add getUriForDocument() to exported API
2 parents 05a2759 + ac17249 commit 9403ee8

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)