This repository was archived by the owner on Mar 12, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 106
Expand file tree
/
Copy pathplugin.xml
More file actions
148 lines (122 loc) · 7.97 KB
/
plugin.xml
File metadata and controls
148 lines (122 loc) · 7.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<idea-plugin url="https://github.com/Haehnchen/idea-php-laravel-plugin">
<id>de.espend.idea.laravel</id>
<name>Laravel</name>
<version>0.15.4</version>
<vendor email="daniel@espendiller.net" url="http://espend.de">Daniel Espendiller</vendor>
<description><![CDATA[
<h1>Laravel Plugin</h1><br>
<br/>
<a href="https://github.com/Haehnchen/idea-php-laravel-plugin/issues">Issues</a> | <a href="https://www.paypal.me/DanielEspendiller">Donate</a>
<br/>
<h2>Install</h2>
<ul>
<li>Install plugin and active it per Project under "Settings > Languages & Frameworks > PHP > Laravel"</li>
<li>Use "<a href="https://github.com/barryvdh/laravel-ide-helper">Laravel IDE Helper Generator</a>" to generate ide classes</li>
<li>Configure root Views directory, if not using default file structure</li>
<li>(Enable autopopup for completion in plugin setting)</li>
</ul>
<br>
<h2>Features</h2>
<ul>
<li>PHP/Route: Controller completion and goto</li>
<li>PHP/Route: Router::resource references</li>
<li>PHP/Route: detect route names on "as" key</li>
<li>PHP/View: completion and goto for view templates</li>
<li>PHP/Config: "providers" class array completion</li>
<li>PHP/Config: Config key indexer, completion and goto</li>
<li>PHP/Translation: Translation key indexer, completion and goto</li>
<li>PHP: Service dic</li>
<li>Blade: extends, include and Php usage linemarker</li>
<li>Blade: section, yield, stack overwrite and implements linemarker</li>
<li>Blade: Improvements in Blade template name completion and navigation</li>
<li>Blade: trans directive</li>
<li>Template: Index for Php usage</li>
</ul>
<h2>Todo</h2>
<ul>
<li>Try to remove "IDE Helper Generator" deps; mostly done :)</li>
<li>Require Symfony2 Plugin, to reduce duplicate code</li>
<li>Support trans/transChoice translation syntax</li>
</ul>
]]></description>
<change-notes><![CDATA[
<ul>
<li>Fix typo in settings form @Luiz* <a href="https://github.com/Haehnchen/idea-php-laravel-plugin/pull/160</">#160</a></li>
<li>Replace deprecated ScalarIndexExtension usages in indexing process</li>
<li>Support Blade includeWhen, includeFirst for template references <a href="https://github.com/Haehnchen/idea-php-laravel-plugin/pull/164">#164</a> <a href="https://github.com/Haehnchen/idea-php-laravel-plugin/pull/152">#152</a> <a href="https://github.com/Haehnchen/idea-php-laravel-plugin/pull/158">#158</a> <a href="https://github.com/Haehnchen/idea-php-laravel-plugin/pull/142">#142</a></li>
<li>Use new directory SLOT_DIRECTIVE and COMPONENT_DIRECTIVE for completion parameter pattern <a href="https://github.com/Haehnchen/idea-php-laravel-plugin/pull/167">#167</a></li>
<li>Provide indexer for all Blade include directives and use some new Blade apis <a href="https://github.com/Haehnchen/idea-php-laravel-plugin/pull/165">#165</a></li>
<li>Replace cost intensive template resolving on path visiting</li>
<li>Convert Blade template file navigation to lazy target implementation</li>
<li>Convert Blade template include navigation to lazy target implementation</li>
<li>Config files matching refactored + tests added @Adel <a href="https://github.com/Haehnchen/idea-php-laravel-plugin/pull/169">#169</a> <a href="https://github.com/Haehnchen/idea-php-laravel-plugin/pull/166">#166</a></li>
<li>Fix "component" and "slot" navigation</li>
<li>Provide directory navigation for Blade template strings</li>
<li>Fix performance issue for Blade linemarkers: targets must be attached to leaf elements <a href="https://github.com/Haehnchen/idea-php-laravel-plugin/pull/161">#161</a></li>
<li>Provide references for assets <a href="https://github.com/Haehnchen/idea-php-laravel-plugin/pull/170">#170</a></li>
</ul>
<br/>
<a href="https://github.com/Haehnchen/idea-php-laravel-plugin/blob/master/CHANGELOG.md">see full changelog</a> | <a href="https://www.paypal.me/DanielEspendiller">Donate</a>
]]>
</change-notes>
<!-- please see http://confluence.jetbrains.com/display/IDEADEV/Build+Number+Ranges for description -->
<idea-version since-build="173.4127"/>
<!-- please see http://confluence.jetbrains.com/display/IDEADEV/Plugin+Compatibility+with+IntelliJ+Platform+Products
on how to target different products -->
<!-- uncomment to enable plugin in all products
<depends>com.intellij.modules.lang</depends>
-->
<extensions defaultExtensionNs="com.jetbrains.php">
<typeProvider3 implementation="de.espend.idea.laravel.blade.BladeInjectTypeProvider"/>
<typeProvider3 implementation="de.espend.idea.laravel.dic.DicTypeProvider"/>
<referenceResolver2 implementation="de.espend.idea.laravel.ReferenceResolver2"/>
</extensions>
<extensions defaultExtensionNs="com.intellij">
<projectConfigurable instance="de.espend.idea.laravel.ui.LaravelProjectSettingsForm"
id="Laravel.SettingsForm"
displayName="Laravel"
parentId="reference.webide.settings.project.settings.php"
nonDefaultProject="true"
/>
<projectConfigurable instance="de.espend.idea.laravel.ui.TemplateSettingsForm"
displayName="Views / Template"
parentId="Laravel.SettingsForm"
nonDefaultProject="true"
/>
<projectService serviceImplementation="de.espend.idea.laravel.LaravelSettings"/>
<completion.contributor language="any" implementationClass="fr.adrienbrault.idea.symfony2plugin.codeInsight.completion.CompletionContributor"/>
<gotoDeclarationHandler implementation="fr.adrienbrault.idea.symfony2plugin.codeInsight.navigation.GotoHandler"/>
<fileBasedIndex implementation="de.espend.idea.laravel.stub.BladeSectionStubIndex"/>
<fileBasedIndex implementation="de.espend.idea.laravel.stub.BladeExtendsStubIndex"/>
<fileBasedIndex implementation="de.espend.idea.laravel.stub.BladeIncludeStubIndex"/>
<fileBasedIndex implementation="de.espend.idea.laravel.stub.BladeStackStubIndex"/>
<fileBasedIndex implementation="de.espend.idea.laravel.stub.BladeEachStubIndex"/>
<fileBasedIndex implementation="de.espend.idea.laravel.stub.BladeYieldStubIndex"/>
<fileBasedIndex implementation="de.espend.idea.laravel.stub.BladeCustomDirectivesStubIndex"/>
<fileBasedIndex implementation="de.espend.idea.laravel.stub.TranslationKeyStubIndex"/>
<fileBasedIndex implementation="de.espend.idea.laravel.stub.ConfigKeyStubIndex"/>
<fileBasedIndex implementation="de.espend.idea.laravel.stub.PhpTemplateUsageStubIndex"/>
<fileBasedIndex implementation="de.espend.idea.laravel.stub.RouteIndexExtension"/>
<codeInsight.lineMarkerProvider language="Blade" implementationClass="de.espend.idea.laravel.blade.TemplateLineMarker"/>
<completion.confidence language="PHP" implementationClass="de.espend.idea.laravel.completion.PhpParameterStringCompletionConfidence"
id="asTrue" order="first"/>
</extensions>
<depends>com.jetbrains.php</depends>
<depends>com.intellij.modules.platform</depends>
<depends>com.jetbrains.php.blade</depends>
<application-components>
<!-- Add your application components here -->
</application-components>
<project-components>
<component>
<implementation-class>de.espend.idea.laravel.LaravelProjectComponent</implementation-class>
</component>
</project-components>
<actions>
<action id="Laravel.ExtractPartialView" class="de.espend.idea.laravel.blade.actions.ExtractPartialViewAction"
text="Extract partial view">
<add-to-group group-id="RefactoringMenu" anchor="first"/>
<keyboard-shortcut first-keystroke="control alt P" keymap="$default"/>
</action>
</actions>
</idea-plugin>