vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Allow opening files whose paths start with `./`, e.g., `./package.json`

Open lucascaton opened this issue 8 months ago • 4 comments

It'd be great if VS Code allowed opening files with paths that start with ./, such as ./package.json, when using the Go to File... command.

That'd be useful because many loggers, linters, and test tools output file paths in the ./file format. Supporting this would make opening these files easier without manually adjusting the path.

When typing ./package.json When typing package.json
Image Image

lucascaton avatar Mar 22 '25 07:03 lucascaton

That'd be useful because many loggers, linters, and test tools output file paths in the ./file format. Supporting this would make opening these files easier without manually adjusting the path.

You can command + click these file paths that are outputted by these toolings in the VS Code terminal and it will open that file.

lramos15 avatar Mar 31 '25 14:03 lramos15

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

You can command + click these file paths that are outputted by these toolings in the VS Code terminal and it will open that file.

Yes, that's true - but since not everyone uses the built-in terminal, it'd be really helpful if VS Code could handle that instead 🙂

lucascaton avatar May 21 '25 04:05 lucascaton

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

Happy Coding!