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

332
Vistas
VSCode: How to navigate inside JS "require"?

I would like to be able to click on the filepath below to open the file that the path references.

const foo = require('services/api/bar')

Does VS Code offer "out-of-the-box" support for this feature? Or can support be gained from an extension?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Open File From Path


Edit:

Originally when I answered this, I thought VS Code didn't support this feature because it doesn't work for me. Turns out, it doesn't work for several people. I have changed my answer to explain how support can be gained for everyone.



OUT-OF-THE-BOX SUPPORT

V.S. Code offers support "out-of-the-box", however, it does not work for everyone. There are various reasons why people experience issues with the native vscode feature. The most common is because VS Code implements a keybinding that is unique to VS Code (example below):

CTRL+CLICK

The Mouse Keybinding can sometimes interfere with an Operating System, or with other software. If you are having an issue getting the default feature to work, not all is lost. Support can be gained through the extension that I have named below.

  • Extension's Name: Open File From Path
  • Extension's ID: "jack89ita.open-file-from-path"
The extension should work immediately after installation with no need to restart your instance of VS Code.


Instructions on Using the Extension:

After the extension is installed, use your mouse to click on the path you wish to navigate to. After you have clicked on the desired path you will use ALT+D to navigate to the path's file.

I personally prefer to alter the keybindings that the extension offers by default

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