Skip to content

Commit 9040525

Browse files
committed
[Project] Use Uri.path as a project identifier.
1 parent fac3361 commit 9040525

File tree

3 files changed

+368
-365
lines changed

3 files changed

+368
-365
lines changed

src/extension.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ export function activate(context: vscode.ExtensionContext) {
159159
if (uri.query != '') {
160160
query = JSON.parse(uri.query);
161161
docUri = vscode.Uri.file(query['Path']);
162+
} else {
163+
docUri = vscode.Uri.file(uri.path);
162164
}
163165
vscode.workspace.openTextDocument(docUri).then(
164166
(success) => {

0 commit comments

Comments
 (0)