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

395
Visualizações
How to get autocomplete code and highlight syntax in Node.js on VScode

I started to learn Node.js recently, and I've notice a difference between my VScode IDE vs the guides on YouTube or other places VScode IDE

for example I want to write the following code const names = require('./names')

Language mode is set to JavaScript

1. I want the the IDE will complete the code when I write require Like every IDE

no autocomplete

2. after I write it, it's not highlighted like a normal piece of code.

My IDE:

My IDE

Some instructor IDE:

Some instructor IDE

about 4 years ago · Santiago Gelvez
1 Respostas
Responde à pergunta

0

  1. Install Node.js Extension Pack in Visual Studio Code Editor.

  2. Then install the Node.js Modules Intellisense plug-in in Visual Studio Code Editor.

The image below belongs to the test study I made after installing the plugins I mentioned above. You can review this article to create the test project.

Application Test Image

Node.JS and NPM must be installed on the system for all the processes I mentioned above to work. To check:

> node --version
v14.17.6
> npm --version
v6.14.15
about 4 years ago · Santiago Gelvez 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