Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

163
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda