Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

160
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda