idea-php-toolbox
idea-php-toolbox copied to clipboard
Add support of the twig/url templates target (currently only PHP classes are supported)
"providers": [
{
"name": "sonata_admin_list_templates",
"defaults": {
"icon": "icons.TwigIcons.TwigFileIcon"
},
"items": [
{
"lookup_string": "array",
"target": "SonataAdminBundle:CRUD:list_array.html.twig"
},
ctrl+click in 'array' string in php code opens PS_UNRESERVE_PREFIX_array
related #13
@Haehnchen current implementation is partly inconveniently
"target": "file:///vendor/sonata-project/admin-bundle/Resources/views/CRUD/list_array.html.twig"
Is it possible add resolver which supports namespaced notation like:
"target": "twig://@SonataAdmin/CRUD/list_array.html.twig"
@Haehnchen also would be great add support of the shift+f1 navigation for opening url. For example we can open http://php.net/manual/en/context.params.php for notification key in code like $context = stream_context_create(array(), array('notification' => array($this, 'progress')));
"url_target": "http://php.net/manual/en/context.params.php"
you can see https://github.com/psliwa/idea-composer-plugin/commit/5f02d1d7a21a8fa1d9dd550b31b9a2c297354b0c for details of implementation this