Skip to content

pwarchol/vscode-php-file-link

Repository files navigation

VS Code PHP File Link

This extension allows to assign links to files declared as strings in the active PHP document.
In case there are multiple matching files, the extension will give you a list to choose from.


This extension works by fetching list of all workspace files with supportedExtensions and comparing them with active document, every time file is opened or changed.

Default cache is set to avoid scaning all workspace dirs every time user is typing and with remote filesystem users in mind.
Cache is cleared when files/dirs are being changed in vscode but I can't detect other users or apps modifying workspace files.
Cache is not refreshing in background, only when is needed.

📋 Extension Settings

  • phpFileLink.supportedExtensions: List of file extensions that can be linked

    "default": ["php","ini","log"]
  • phpFileLink.cacheWorkspaceFiles: Caching list of workspace files

    "default": true
  • phpFileLink.refreshCacheAfter: Refreshing cache after x seconds

    "default": 120

👋 Special thanks / Credits

Thanks to Robin Delattre for PR Add link to line number.

About

This extension assigns links to files declared as strings in the active PHP document.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published