Github | Telegram | Donation | Documentation
MetaStorm is the framework-agnostic ultimate tool for developers:
MetaStorm is the ultimate tool for developers who want their IDE to understand their code on a deeper level. With asingle customizable rule, you can unlock both references and autocompletion simultaneously!Save time, avoid mistakes, and navigate your projects effortlessly. 💻✨
A few lines of config files unlock both references and autocompletion at regular places such asmethod($object, <property of object>), render(<file name>), etc
When I use the static method ArrayHelper::getValue I want to make my IDE to be as helpful as possible.
I want to make the IDE understand that if I type the second argument it must be one of the properties of the firstargument:
public static function getValue(object $object, string $property).meta-storm.xml at any place in your project with the following content:<?xml version="1.0" encoding="UTF-8" ?><meta-storm xmlns="meta-storm"> <definitions> <classMethod class="\ArrayHelper" method="getValue" argument="1"> <properties relatedTo="argument" relatedArgument="0"/> </classMethod> </definitions></meta-storm><?phpclass User { private $id; protected $name; public $age; }$a = new User;class ArrayHelper { public static function getValue(object $object, string $property) {} }ArrayHelper::getValue($a, 'age');'age' and PhpStorm navigates you to the $age property declaration.age and start typing, you can see properties completion for the existing properties.$age in the class User and PhpStorm highlight you all the usages and add references to themThat was example how it works. Read the rest documentation to understand what you can do with the plugin.
Open-source tools can greatly improve workflows, helping developers and businesses save time and increase revenue.Many successful projects have been built on these tools, benefiting a wide community.However, maintaining and enhancing these resources requires continuous effort and investment.
Support from the community helps keep these projects alive and ensures they remain useful for everyone.Donations play a key role in sustaining and improving these open-source initiatives.
Chose the best option for you to say thank you: