Skip to content

Commit 09108ba

Browse files
committed
support file llink
1 parent 9f38b63 commit 09108ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ var requirejs = (function() {
658658
case 'clicked-link':
659659
{
660660
let linkToOpen: URI | string | undefined;
661-
if (matchesSomeScheme(data.href, Schemas.http, Schemas.https, Schemas.mailto, Schemas.command, Schemas.vscodeNotebookCell, Schemas.vscodeNotebook)) {
661+
if (matchesSomeScheme(data.href, Schemas.http, Schemas.https, Schemas.mailto, Schemas.command, Schemas.vscodeNotebookCell, Schemas.vscodeNotebook, Schemas.file)) {
662662
linkToOpen = data.href;
663663
} else if (!/^[\w\-]+:/.test(data.href)) {
664664
if (this.documentUri.scheme === Schemas.untitled) {

0 commit comments

Comments
 (0)