From 58b3a4fc297ed22d8ca569293983e48e8121f61c Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Wed, 8 Jan 2020 18:34:42 -0800 Subject: [PATCH] Add support for find in notebook editor --- news/1 Enhancements/9470.md | 1 + src/client/common/application/webPanels/webPanel.ts | 1 + 2 files changed, 2 insertions(+) create mode 100644 news/1 Enhancements/9470.md diff --git a/news/1 Enhancements/9470.md b/news/1 Enhancements/9470.md new file mode 100644 index 000000000000..516da2833e2f --- /dev/null +++ b/news/1 Enhancements/9470.md @@ -0,0 +1 @@ +Add support for `Find` in the `Notebook Editor`. diff --git a/src/client/common/application/webPanels/webPanel.ts b/src/client/common/application/webPanels/webPanel.ts index 82dd5cab162f..b59ae5be615d 100644 --- a/src/client/common/application/webPanels/webPanel.ts +++ b/src/client/common/application/webPanels/webPanel.ts @@ -39,6 +39,7 @@ export class WebPanel implements IWebPanel { enableScripts: true, retainContextWhenHidden: true, localResourceRoots: [Uri.file(this.options.rootPath)], + enableFindWidget: true, portMapping: port ? [{ webviewPort: RemappedPort, extensionHostPort: port }] : undefined } );