PHPX Tag SupportPHPX Tag Support is a Visual Studio Code extension designed to enhance your Prisma PHP development workflow by adding custom tag support for PHPX. It provides features like hover information, definition lookup, diagnostic warnings for missing tag imports, and intelligent parsing of PHP FeaturesHover ProviderHover over a PHPX tag (e.g., Definition ProviderCtrl+Click (or F12) on a tag opens the Peek Definition view, showing the contents of the source file. The extension ensures that even single definitions use the peek view by updating VS Code’s configuration. It also supports resolving definitions using a Diagnostic WarningsThe extension scans your PHP files for custom tags and flags any tag without a corresponding
Tag Completion SuggestionsProvides intelligent completion suggestions for PHPX tags based on Group Import & Alias SupportHandles PHP
This allows you to use Heredoc/Nowdoc FilteringTo avoid false positives, the extension ignores tags found inside PHP heredoc/nowdoc blocks. InstallationFrom the MarketplaceSearch for PHPX Tag Support in the Visual Studio Code Marketplace and click Install. From a VSIX FilePackage the extension into a
UsageHover Over TagsHover over a tag like Peek DefinitionCtrl+Click (or F12) on a tag opens the inline Peek Definition view. Alternatively, use the command palette command PHPX: Peek Tag Definition ( DiagnosticsIf a tag is missing its import, a warning (e.g., “⚠️ Missing import for component
Completion SuggestionsStart typing Extension Commands
ConfigurationThis extension automatically updates the following settings to force Peek Definition for Go to Definition:
You can disable or modify this behavior in your VS Code settings if preferred. ContributingContributions are welcome! Fork this repository and submit a pull request with your changes. For bugs or feature requests, please use the issue tracker. LicenseThis project is licensed under the MIT License. See the LICENSE file for details. |