idea-php-toolbox
idea-php-toolbox copied to clipboard
Collections of tools and improvements to make PhpStorm a little bit better
Dear Daniel, the link that you provided on the home page of github about document doesn't work. Also, could you please provide a sample guide to use this plugin in...
Under some circumstances it is necessary to be aware to current provided lookup_string. e.g. ``` json { "providers": [ { "name": "template_files", "items": [ { "type_text": "template filename", "target": "file://app/resources/templates/$1"...
I need get all classes implements WidgetInterface, process this list (call method getName, for example) and generate json for new provider. Currently I should process all classes recursively by hand...
For example a class has ``` class Test { protected $columns = ['title', 'updated_at']; } ``` maybe could be something like `Test:$columns`.
My use case if following: ``` php \cs\Config::instance()->module('') ``` I want to autocomplete there names of directories, which are all located in `components/modules` directory (from the root of the project,...
Some strings are too long and was stripped on autocompletion: ``` js "lookup_string": "notification", "type_text": "A callable to be called when an event occurs on a stream.", ``` For this...
``` null java.lang.NullPointerException at de.espend.idea.php.toolbox.matcher.php.container.ContainerConditions$TypeSignatureCondition.value(ContainerConditions.java:45) at de.espend.idea.php.toolbox.matcher.php.container.ContainerConditions$TypeSignatureCondition.value(ContainerConditions.java:36) at com.intellij.util.containers.ContainerUtil.find(ContainerUtil.java:883) at com.intellij.util.containers.ContainerUtil.find(ContainerUtil.java:854) at de.espend.idea.php.toolbox.utils.ExtensionProviderUtil.getTypesInner(ExtensionProviderUtil.java:196) at de.espend.idea.php.toolbox.utils.ExtensionProviderUtil.access$100(ExtensionProviderUtil.java:39) at de.espend.idea.php.toolbox.utils.ExtensionProviderUtil$4.compute(ExtensionProviderUtil.java:175) at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49) at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222) at com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:66) at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38) at de.espend.idea.php.toolbox.utils.ExtensionProviderUtil.getTypes(ExtensionProviderUtil.java:182) at de.espend.idea.php.toolbox.type.PhpToolboxTypeProvider.getType(PhpToolboxTypeProvider.java:50) at...
I got the Toolbox and the Symfony plugin installed. ``` json { "registrar": [{ "language": "php", "provider": "template", "signature": [ "Application\\Bundle\\AppBundle\\View\\RenderResult::__construct" ] }] } ``` I want to make use...
If one of json files would invalid then autocompletion stops working. IMHO it would possible just skip invalid file and even report an error to user.
Example: ``` php $components = parse_url($url); $components[''] ... ``` ..would list: - `scheme` - `host` - `port` - `user` - `pass` - `path` - `query` - `fragment` Something similar could...