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

278
Vistas
When moving a JS file, how can you auto-update the imports of dependents of the moved file?

I know that VS code can auto-update the import statements of the moved file using updateImportsOnFileMove, but I'd like for VS code to update the dependents of the moved file as well. Is such a thing possible?

Example:

myfile.js exists in /src/, but I'd like to move it to /src/models/. If I do so, myfile.js will go from

import WhoCares from './whocares.js';

to

import WhoCares from '../whocares.js';  

However, I'd like for the dependents of myfile.js to also be updated, i.e. mydependent.js

import MyFile from './myfile.js';

to

import MyFile from './models/myfile.js';

Is such a thing possible?

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