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

162
Visualizações
VSC Default Directory for IntelliSense?

I use the code-runner extension in VSC to run untitled files on the fly, which is super helpful for quickly testing code snippets. Under the hood, the extension creates a temporary file in a directory I've specified which already has some packages preinstalled. This way if I need to build an express server or use some other common package, the code already has access to those packages.

But while code-runner works just fine, TS/IntelliSense doesn't. TS or IntelliSense doesn't know what directory untitled files will be run in, and so either the TS compiler complains about packages it can't find, or IntelliSense gives me typings for a different version of that package from whatever project I may have open in a separate tab. So basically, for untitled files in Visual Studio Code, how can I tell TypeScript/IntelliSense which directory it should look for packages in?

about 4 years ago · Juan Pablo Isaza
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