Simple plugin for VS Code that allows you to quickly open file starting from path string. E.g.
include("./myfolder/myfile.ext");
By default VS Code won't open relative/absolute path in PHP or other files with the classic ctrl+click command. This extension allows you to do it by searching throughout the project: just point your cursor on a path and press the alt+d default shortcut to open it.
Shortcut
Open file : alt+d
Features
Navigate the project folder searching for files that matches selected path string.
Extension Settings
open-file-from-path.startingPath: Set the starting path for the file search; can also be and sequence of strings separated by comma, It is useful to users who manages several web sites. (default to /)
open-file-from-path.searchExclusion: File or folder list to exclude (default **/node_modules/** and **/.vscode/**), glob formatted
open-file-from-path.regExp: RegExp used to delimiter the path of the file to open (default ['|\"](https://github.com/Jack89ita/vscode-open-file-from-path/blob/master/[^'|\"]+)['|\"], by default get the file name between quotes or double quotes)
open-file-from-path.matchPureFilename: Choose to search and match the pure filename or the entire path (default false)