Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

159
Views
Are there any way of enabling the search feature for vs code webview?

I am making an extension for VS Code where I show html5 articles in a webview. I've noticed I can't search through the document using the find (ctrl + f) feature. I am wondering if there is any way to enable it, or maybe implement it using js/ts. The best idea I've got so far is to detect if the user uses the ctrl + f shortcut and make my own search capabilities with window.find(). I'm not sure jet whether or not it will work, and it feels like an non optimal solution. Are there any way of enabling the search feature for vs code webview?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Check the webview panel options when creating the webview:

    /**
     * Content settings for a webview panel.
     */
    export interface WebviewPanelOptions {
        /**
         * Controls if the find widget is enabled in the panel.
         *
         * Defaults to false.
         */
        readonly enableFindWidget?: boolean;

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!