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

378
Visualizações
Vscode autocomplete not working in javascript file

I would like to know if anyone knows how to fix autocompletion in vscode. This is my problem: vscode has a code suggestion, but lately it stopped working in my javascript file I leave a picture of how it doesn't work.

code to show autocomplete not working

On line 31 it should suggest "addEventListener" but it doesn't, does anyone know why?

I already checked that the factory application "typescrit and javascrit language features" was active. Also the file is in JS format. I also reloaded the editor with ctrl + shift + p -> developer: reload window.

From already thank you very much.

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

You are in restricted mode which is a security feature to protect your machine from malicious repositories. A better approach to outright disabling the feature is to trust whatever folder you normally clone your own repositories in. When you initially open a new folder you are presented with this dialog:

enter image description here

You can say yes here to get the functionality working, there's also a checkbox that allows you to trust the parent folder of the folder you opened as it's a common pattern to clone all your repositories in a single folder.

If you need to fine tune which folder you trust you can open "Manage Workspace Trust" from the gear menu:

enter image description here

On this page you can trust the folder you clone your own repositories into, or alternatively the whole drive.

enter image description here

about 4 years ago · Juan Pablo Isaza Relatório

0

Just now i learn how to fixed: is the restricted mode. See this post to know how to fixed.

In summary:

  1. Open settings (ctrl+,)
  2. Write in the nav bar: "security.workspace.trust.enabled"
  3. Disable the check box (turn to false)
  4. Done.
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