Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>PHP File LinkNew to Visual Studio Code? Get it now.
PHP File Link

PHP File Link

Paweł Warchoł

|
9,525 installs
| (6) | Free
This extension allows to assign links to files declared as strings in the active PHP document.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft