-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Description
VS Code currently has a very helpful feature where it allows you to Ctrl+Click on any web links anywhere (as far as I can see), whether that is in a markdown file, a java comment, or a typescript variable value. It would be very helpful if this feature was extended to also cover file paths!
E.g. the following file (a .betterer.results file), contains file paths to files currently containing typescript errors, and it would be very helpful if I could just Ctrl+Click on a one of those paths to navigate to it.
The highlighting could be a combination of an "is this a valid file path"-regular expression and if it is, check if the file exists (either absolutely, if it's an absolute path, or relative to the file or the project root). If all good, underline and allow Ctrl+Click, the same as for web links.
